diff --git a/CMakeLists.txt b/CMakeLists.txt index cb095bed..be83caa5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -71,7 +71,7 @@ if(UNIX AND NOT APPLE) if("${CMAKE_BUILD_TYPE}" STREQUAL "Debug") get_filename_component(LINKER_BIN ${CMAKE_LINKER} NAME) if(${LINKER_BIN} STREQUAL "ld") - set(CMAKE_SHARED_LINKER_FLAGS "-Wl,--unresolved-symbols=report-all") + set(CMAKE_SHARED_LINKER_FLAGS "${CMAKE_SHARED_LINKER_FLAGS} -Wl,--unresolved-symbols=report-all") endif() endif() endif()