File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -282,9 +282,9 @@ if (NOT APPLE AND NOT OSX AND NOT MINGW)
282
282
set (CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--export-dynamic" )
283
283
endif ()
284
284
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} )
288
288
endif ()
289
289
if (MINGW )
290
290
message ("-- Not exporting symbols in gdl executable, please do something about it!!!" )
You can’t perform that action at this time.
0 commit comments