repertory/cmake/libraries/backward_cpp.cmake
Scott E. Graves ffea22c71b
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
updated build system
2024-07-27 16:31:45 -05:00

11 lines
242 B
CMake

if(PROJECT_ENABLE_BACKWARD_CPP AND PROJECT_BUILD)
add_definitions(-DPROJECT_ENABLE_BACKWARD_CPP)
if(PROJECT_IS_MINGW)
link_libraries(msvcr90)
else()
link_libraries(bfd)
add_definitions(-DBACKWARD_HAS_BFD)
endif()
endif()