@@ -6,7 +6,6 @@ the vendor package. See https://github.com/gazebosim/gz-sim/pull/2838.
6
6
Upstream PR related: https://github.com/bombela/backward-cpp/pull/338
7
7
8
8
On updates, be sure of preserving this patch.
9
-
10
9
diff --git a/vendor/backward-cpp/CMakeLists.txt b/vendor/backward-cpp/CMakeLists.txt
11
10
index e625f8ac9..3b18476d5 100644
12
11
--- a/vendor/backward-cpp/CMakeLists.txt
@@ -15,6 +14,7 @@ index e625f8ac9..3b18476d5 100644
15
14
endforeach()
16
15
endif()
17
16
17
+ -
18
18
- install(
19
19
- FILES "backward.hpp"
20
20
- DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
@@ -23,16 +23,12 @@ index e625f8ac9..3b18476d5 100644
23
23
- FILES "BackwardConfig.cmake"
24
24
- DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
25
25
- )
26
- # check if Backward is being used as a top-level project or included as a subproject
27
- if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
28
- + install(
29
- + FILES "backward.hpp"
30
- + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
31
- + )
32
- + install(
33
- + FILES "BackwardConfig.cmake"
34
- + DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}"
35
- + )
36
- # export the targets (note that exporting backward_object does not make sense)
37
- install(TARGETS backward_interface backward EXPORT BackwardTargets)
38
- # install a CMake file for the exported targets
26
+ - # check if Backward is being used as a top-level project or included as a subproject
27
+ - if(CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
28
+ - # export the targets (note that exporting backward_object does not make sense)
29
+ - install(TARGETS backward_interface backward EXPORT BackwardTargets)
30
+ - # install a CMake file for the exported targets
31
+ - install(EXPORT BackwardTargets
32
+ - NAMESPACE Backward::
33
+ - DESTINATION "${CMAKE_INSTALL_LIBDIR}/cmake/${PROJECT_NAME}")
34
+ - endif()
0 commit comments