summaryrefslogtreecommitdiff
path: root/CMake/Misc.cmake
diff options
context:
space:
mode:
authorJaywalker <jwilliams@nsllc.com>2018-02-06 17:47:38 -0600
committerJaywalker <jwilliams@nsllc.com>2018-02-06 17:47:38 -0600
commit8d211461abde461bb193c0eb8fd768d748d737f0 (patch)
tree8c0dd21469e63ff9c4f847c0897f4be4ac1663db /CMake/Misc.cmake
parentfb97f9603ada7961f30b123962a11981aee475a3 (diff)
Build system changes
Diffstat (limited to 'CMake/Misc.cmake')
-rw-r--r--CMake/Misc.cmake20
1 files changed, 10 insertions, 10 deletions
diff --git a/CMake/Misc.cmake b/CMake/Misc.cmake
index 82cb4da37..18b51841f 100644
--- a/CMake/Misc.cmake
+++ b/CMake/Misc.cmake
@@ -66,16 +66,16 @@ endfunction()
# Generates a simple version script versioning everything with current SOVERSION
function(add_version_script target)
- get_target_property(soversion ${target} SOVERSION)
- set(script "${CMAKE_CURRENT_BINARY_DIR}/${target}.versionscript")
- string(REPLACE "-" "" name "${target}_${soversion}")
- string(TOUPPER "${name}" name)
- add_custom_command(OUTPUT "${script}"
- COMMAND echo "${name} {global: *; };" > "${script}"
- VERBATIM )
- add_custom_target(${target}-versionscript DEPENDS "${script}")
- target_link_libraries(${target} PRIVATE -Wl,-version-script="${script}")
- add_dependencies(${target} ${target}-versionscript)
+ #get_target_property(soversion ${target} SOVERSION)
+ #set(script "${CMAKE_CURRENT_BINARY_DIR}/${target}.versionscript")
+ #string(REPLACE "-" "" name "${target}_${soversion}")
+ #string(TOUPPER "${name}" name)
+ #add_custom_command(OUTPUT "${script}"
+ # COMMAND echo "${name} {global: *; };" > "${script}"
+ # VERBATIM )
+ #add_custom_target(${target}-versionscript DEPENDS "${script}")
+ #target_link_libraries(${target} PRIVATE -Wl,-version-script="${script}")
+ #add_dependencies(${target} ${target}-versionscript)
endfunction()
function(path_join out path1 path2)