summaryrefslogtreecommitdiffhomepage
path: root/cmake/opentrack-boilerplate.cmake
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:29:34 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:29:34 +0100
commit187624cf9ac365759bdfd82b11ae6f77099e04d1 (patch)
tree39a1c98f463b654292aebc0f84008953d10c6a08 /cmake/opentrack-boilerplate.cmake
parentefa67b82596088515872d4e879ee7a0917078cf8 (diff)
cmake: remove dead code
Diffstat (limited to 'cmake/opentrack-boilerplate.cmake')
-rw-r--r--cmake/opentrack-boilerplate.cmake15
1 files changed, 0 insertions, 15 deletions
diff --git a/cmake/opentrack-boilerplate.cmake b/cmake/opentrack-boilerplate.cmake
index 683f63a4..f4a5daa8 100644
--- a/cmake/opentrack-boilerplate.cmake
+++ b/cmake/opentrack-boilerplate.cmake
@@ -86,21 +86,6 @@ function(otr_compat target)
if (".${TYPE}" STREQUAL ".EXECUTABLE")
otr_fixup_subsystem(${target})
endif()
-
- if(CMAKE_COMPILER_IS_GNUCXX AND NOT MSVC)
- # gives incorrect result
- #get_property(linker-lang TARGET ${target} PROPERTY LINKER_LANGUAGE)
-
- #set_property(TARGET ${target} APPEND_STRING PROPERTY COMPILE_FLAGS "-fvisibility=hidden ")
-
- #if (NOT ".${${target}-cxx}" STREQUAL ".") # not a C only target
- # set_property(TARGET ${target} APPEND_STRING PROPERTY COMPILE_FLAGS "-fuse-cxa-atexit ")
- #endif()
-
- #if(NOT APPLE)
- # set_property(TARGET ${target} APPEND_STRING PROPERTY LINK_FLAGS "-Wl,--as-needed ")
- #endif()
- endif()
endfunction()
function(otr_is_sln_generator var)