Skip to content

Commit 71894b1

Browse files
author
Giloo
committed
test again
1 parent b125ac2 commit 71894b1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/CMakeLists.txt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -282,9 +282,9 @@ if (NOT APPLE AND NOT OSX AND NOT MINGW)
282282
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-dynamic")
283283
endif()
284284
if (APPLE OR OSX )
285-
# set(EXPORTED_SYMBOLS_LIST ${CMAKE_CURRENT_SOURCE_DIR}/dynlist.txt)
286-
# set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-exported_symbols_list ${EXPORTED_SYMBOLS_LIST}")
287-
# set_target_properties(gdl PROPERTIES LINK_DEPENDS ${EXPORTED_SYMBOLS_LIST})
285+
set(EXPORTED_SYMBOLS_LIST ${CMAKE_CURRENT_SOURCE_DIR}/dynlist.txt)
286+
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,-exported_symbols_list ${EXPORTED_SYMBOLS_LIST}")
287+
set_target_properties(gdl PROPERTIES LINK_DEPENDS ${EXPORTED_SYMBOLS_LIST})
288288
endif()
289289
if (MINGW )
290290
message("-- Not exporting symbols in gdl executable, please do something about it!!!")

0 commit comments

Comments
 (0)