Skip to content

Commit e4f38d4

Browse files
committed
fix: Make project build on Linux
1 parent 60578dd commit e4f38d4

1 file changed

Lines changed: 7 additions & 3 deletions

File tree

CMakeLists.txt

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,10 +55,14 @@ target_compile_definitions(tmj PUBLIC
5555
LIBTMJ_VERSION="${PROJECT_VERSION}"
5656
)
5757

58+
59+
# This breaks building libtmj on Linux for me.
60+
# If I didn't disable this, it would give me linker errors.
61+
5862
# Control symbol visibility
59-
if(NOT WIN32 AND NOT APPLE)
60-
target_link_options(tmj PRIVATE "LINKER:--version-script=src/tmj.sym")
61-
endif()
63+
# if(NOT WIN32 AND NOT APPLE)
64+
# target_link_options(tmj PRIVATE "LINKER:--version-script=src/tmj.sym")
65+
# endif()
6266

6367
# Set include directories
6468
target_include_directories(tmj PUBLIC include)

0 commit comments

Comments
 (0)