Эх сурвалжийг харах

Fix shared library build process

Patrick-Christopher Mattulat 7 цаг өмнө
parent
commit
7f26320826
1 өөрчлөгдсөн 6 нэмэгдсэн , 6 устгасан
  1. 6 6
      cmake/Build.cmake

+ 6 - 6
cmake/Build.cmake

@@ -10,7 +10,7 @@ function(build_boxing_module build_static_flag build_shared_flag module_name mod
     if (${build_shared_flag})
         add_library("${${module_name}}" SHARED ${${source_files}})
         enable_strict_warnings(module_name)
-        target_link_libraries("${${module_name}}" ${module_name_core})
+        target_link_libraries("${${module_name}}" ${${module_name_core}})
         set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
     endif ()
 endfunction()
@@ -50,7 +50,7 @@ function(build_encoding_module build_static_flag build_shared_flag module_name m
     if (${build_shared_flag})
         add_library("${${module_name}}" SHARED ${${source_files}})
         enable_strict_warnings(module_name)
-        target_link_libraries("${${module_name}}" ${module_name_core})
+        target_link_libraries("${${module_name}}" ${${module_name_core}})
         set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
     endif ()
 endfunction()
@@ -67,7 +67,7 @@ function(build_event_module build_static_flag build_shared_flag module_name modu
     if (${build_shared_flag})
         add_library("${${module_name}}" SHARED ${${source_files}})
         enable_strict_warnings(module_name)
-        target_link_libraries("${${module_name}}" ${module_name_core})
+        target_link_libraries("${${module_name}}" ${${module_name_core}})
         set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
     endif ()
 endfunction()
@@ -84,7 +84,7 @@ function(build_io_module build_static_flag build_shared_flag module_name module_
     if (${build_shared_flag})
         add_library("${${module_name}}" SHARED ${${source_files}})
         enable_strict_warnings(module_name)
-        target_link_libraries("${${module_name}}" ${module_name_core})
+        target_link_libraries("${${module_name}}" ${${module_name_core}})
         set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
     endif ()
 endfunction()
@@ -103,12 +103,12 @@ function(build_time_module build_static_flag build_shared_flag build_jni_flag mo
             message("${${module_name}}: building with JNI...")
             add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}} ${${source_files_jni}})
             enable_strict_warnings(module_name)
-            target_link_libraries("${${module_name}}" ${module_name_core})
+            target_link_libraries("${${module_name}}" ${${module_name_core}})
             set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
         else ()
             add_library("${${module_name}}" SHARED ${${source_files}} ${${source_files_linux}} ${${source_files_windows}})
             enable_strict_warnings(module_name)
-            target_link_libraries("${${module_name}}" ${module_name_core})
+            target_link_libraries("${${module_name}}" ${${module_name_core}})
             set_target_properties("${${module_name}}" PROPERTIES DEBUG_POSTFIX "-d")
         endif ()
     endif ()