Skip to content

Commit

Permalink
Merge pull request #285 from damageboy/master
Browse files Browse the repository at this point in the history
cmake: allow for inclusion with CPM
  • Loading branch information
bombela authored Mar 10, 2023
2 parents 90398ee + 490fd39 commit dc8b8c7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,11 @@ endif()
add_library(backward ${libtype} backward.cpp)
target_compile_definitions(backward PUBLIC ${BACKWARD_DEFINITIONS})
target_include_directories(backward PUBLIC ${BACKWARD_INCLUDE_DIRS})
if(BACKWARD_HAS_EXTERNAL_LIBRARIES)
set_target_properties(backward PROPERTIES
INTERFACE_LINK_LIBRARIES "${BACKWARD_LIBRARIES}")
endif()
add_library(Backward::Backward ALIAS backward)

###############################################################################
# TESTS
Expand Down

0 comments on commit dc8b8c7

Please sign in to comment.