summaryrefslogtreecommitdiff
path: root/gruel/src/lib/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'gruel/src/lib/CMakeLists.txt')
-rw-r--r--gruel/src/lib/CMakeLists.txt9
1 files changed, 1 insertions, 8 deletions
diff --git a/gruel/src/lib/CMakeLists.txt b/gruel/src/lib/CMakeLists.txt
index b54e644bc..a6aa1d992 100644
--- a/gruel/src/lib/CMakeLists.txt
+++ b/gruel/src/lib/CMakeLists.txt
@@ -82,14 +82,7 @@ list(APPEND gruel_sources
add_library(gruel SHARED ${gruel_sources})
target_link_libraries(gruel ${Boost_LIBRARIES})
-set_target_properties(gruel PROPERTIES DEFINE_SYMBOL "gruel_EXPORTS")
-set_target_properties(gruel PROPERTIES SOVERSION ${LIBVER})
-
-install(TARGETS gruel
- LIBRARY DESTINATION ${GR_LIBRARY_DIR} COMPONENT "gruel_runtime" # .so/.dylib file
- ARCHIVE DESTINATION ${GR_LIBRARY_DIR} COMPONENT "gruel_devel" # .lib file
- RUNTIME DESTINATION ${GR_RUNTIME_DIR} COMPONENT "gruel_runtime" # .dll file
-)
+GR_LIBRARY_FOO(gruel RUNTIME_COMPONENT "gruel_runtime" DEVEL_COMPONENT "gruel_devel")
########################################################################
# Setup tests