Skip to content

Commit b1770fc

Browse files
thesamesamvitalyster
authored andcommitted
cmake: fix -Wl,--export-dynamic typo
'-Wl,-export-dynamic' will be interpreted as '-Wl,-e xport-dynamic'.
1 parent d8df059 commit b1770fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spectrum/src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ target_compile_features(spectrum2 PUBLIC cxx_std_11)
2121

2222
if(NOT MSVC AND NOT APPLE)
2323
# export all symbols (used for loading frontends)
24-
set(CMAKE_EXE_LINKER_FLAGS "-Wl,-export-dynamic")
24+
set(CMAKE_EXE_LINKER_FLAGS "-Wl,--export-dynamic")
2525
endif()
2626

2727
install(TARGETS spectrum2 RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})

0 commit comments

Comments
 (0)