We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e4f38d4 commit cacb307Copy full SHA for cacb307
1 file changed
CMakeLists.txt
@@ -56,13 +56,10 @@ target_compile_definitions(tmj PUBLIC
56
)
57
58
59
-# This breaks building libtmj on Linux for me.
60
-# If I didn't disable this, it would give me linker errors.
61
-
62
# Control symbol visibility
63
-# if(NOT WIN32 AND NOT APPLE)
64
- # target_link_options(tmj PRIVATE "LINKER:--version-script=src/tmj.sym")
65
-# endif()
+if(NOT WIN32 AND NOT APPLE)
+ target_link_options(tmj PRIVATE "LINKER:--version-script=${CMAKE_CURRENT_SOURCE_DIR}/src/tmj.sym")
+endif()
66
67
# Set include directories
68
target_include_directories(tmj PUBLIC include)
0 commit comments