File tree 1 file changed +5
-8
lines changed
1 file changed +5
-8
lines changed Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ set(CMAKE_SKIP_INSTALL_RULES OFF)
17
17
set (CMAKE_INSTALL_MESSAGE LAZY)
18
18
set (CMAKE_UNITY_BUILD ON )
19
19
20
-
21
20
set (BOOST_VERSION 1.87.0)
22
21
list (APPEND BOOST_INCLUDE_LIBRARIES asio container)
23
22
@@ -42,18 +41,16 @@ endif()
42
41
43
42
# ---- Install rules ----
44
43
45
- CPMAddPackage("gh:TheLartians/PackageProject.cmake@1.11 .0" )
44
+ CPMAddPackage("gh:TheLartians/PackageProject.cmake@1.13 .0" )
46
45
47
46
packageProject(
48
- NAME CPMExampleBoost
49
- TARGETS CPMExampleBoost
47
+ NAME CPMExampleBoost TARGETS CPMExampleBoost
50
48
VERSION ${BOOST_VERSION}
51
49
NAMESPACE BoostExample
52
50
BINARY_DIR ${PROJECT_BINARY_DIR}
53
- ARCH_INDEPENDENT NO
54
- # INCLUDE_DIR ${BOOST_SOURCE}/boost
55
- # INCLUDE_DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/boost
56
- # INCLUDE_HEADER_REGEX [=[.*\.(inc|h|hpp|ipp)$]=]
51
+ ARCH_INDEPENDENT NO
52
+ # INCLUDE_DIR ${BOOST_SOURCE}/boost INCLUDE_DESTINATION
53
+ # ${CMAKE_INSTALL_INCLUDEDIR}/boost INCLUDE_HEADER_REGEX [=[.*\.(inc|h|hpp|ipp)$]=]
57
54
DISABLE_VERSION_SUFFIX YES
58
55
COMPATIBILITY SameMajorVersion
59
56
DEPENDENCIES "Boost ${BOOST_VERSION} "
You can’t perform that action at this time.
0 commit comments