mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-20 20:40:29 +08:00
Add linker flag needed by BlackMisc::getStackTrace
This commit is contained in:
committed by
Lars Toenning
parent
c83790d765
commit
4cacdef222
@@ -122,6 +122,11 @@ elseif(UNIX)
|
|||||||
set(CMAKE_INSTALL_RPATH \$ORIGIN/../lib)
|
set(CMAKE_INSTALL_RPATH \$ORIGIN/../lib)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(UNIX AND NOT APPLE AND ${CMAKE_BUILD_TYPE} STREQUAL Debug)
|
||||||
|
# For BlackMisc::getStackTrace
|
||||||
|
add_link_options(-rdynamic)
|
||||||
|
endif()
|
||||||
|
|
||||||
if(MSVC)
|
if(MSVC)
|
||||||
set(CMAKE_DEBUG_POSTFIX d)
|
set(CMAKE_DEBUG_POSTFIX d)
|
||||||
endif()
|
endif()
|
||||||
|
|||||||
Reference in New Issue
Block a user