Skip to content

Commit

Permalink
cmake: enable export symbols for backtrace
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Oct 1, 2022
1 parent fd3112e commit bf30636
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cmake/re-config.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -119,4 +119,8 @@ list(APPEND RE_DEFINITIONS

if(${CMAKE_BUILD_TYPE} MATCHES "[Rr]el")
list(APPEND RE_DEFINITIONS -DRELEASE)
else()
if(Backtrace_FOUND)
set(CMAKE_ENABLE_EXPORTS ON)
endif()
endif()

0 comments on commit bf30636

Please sign in to comment.