aboutsummaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'CMakeLists.txt')
-rw-r--r--CMakeLists.txt2
1 files changed, 0 insertions, 2 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index ecdfbcf..45d92b9 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -9,13 +9,11 @@ set_target_properties(objlib PROPERTIES LINKER_LANGUAGE C)
add_library(ocusts SHARED $<TARGET_OBJECTS:objlib> include/locusts.h)
target_link_libraries(ocusts PUBLIC objlib)
-set_target_properties(ocusts PROPERTIES LINKER_LANGUAGE C)
set_target_properties(ocusts PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties(ocusts PROPERTIES PUBLIC_HEADER include/locusts.h)
add_library(ocusts_static STATIC $<TARGET_OBJECTS:objlib> include/locusts.h)
target_link_libraries(ocusts_static PUBLIC objlib)
-set_target_properties(ocusts_static PROPERTIES LINKER_LANGUAGE C)
set_target_properties(ocusts_static PROPERTIES VERSION ${PROJECT_VERSION} SOVERSION ${PROJECT_VERSION_MAJOR})
set_target_properties(ocusts_static PROPERTIES OUTPUT_NAME ocusts)