Skip to content

Commit ab6c429

Browse files
committed
Fixup
1 parent d3c9cbd commit ab6c429

File tree

1 file changed

+14
-14
lines changed

1 file changed

+14
-14
lines changed

CMakeLists.txt

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -171,6 +171,20 @@ else()
171171
)
172172
endif()
173173

174+
# Boost.Describe + Boost.Mp11 (header-only, fetched via bootstrap.py recipes)
175+
set(BOOST_DESCRIBE_ROOT "${CMAKE_SOURCE_DIR}/build/third-party/source/boost_describe")
176+
set(BOOST_MP11_ROOT "${CMAKE_SOURCE_DIR}/build/third-party/source/boost_mp11")
177+
178+
add_library(boost_mp11 INTERFACE)
179+
target_include_directories(boost_mp11 INTERFACE "${BOOST_MP11_ROOT}/include")
180+
181+
add_library(boost_describe INTERFACE)
182+
target_include_directories(boost_describe INTERFACE "${BOOST_DESCRIBE_ROOT}/include")
183+
target_link_libraries(boost_describe INTERFACE boost_mp11)
184+
set_target_properties(boost_describe boost_mp11 PROPERTIES
185+
EXPORT_NAME ""
186+
)
187+
174188
#-------------------------------------------------
175189
#
176190
# Docs build
@@ -279,20 +293,6 @@ llvm_map_components_to_libnames(llvm_libs all)
279293
string(REGEX REPLACE " /W[0-4]" "" CMAKE_C_FLAGS "${CMAKE_C_FLAGS}")
280294
string(REGEX REPLACE " /W[0-4]" "" CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS}")
281295

282-
# Boost.Describe + Boost.Mp11 (header-only, fetched via bootstrap.py recipes)
283-
set(BOOST_DESCRIBE_ROOT "${CMAKE_SOURCE_DIR}/build/third-party/source/boost_describe")
284-
set(BOOST_MP11_ROOT "${CMAKE_SOURCE_DIR}/build/third-party/source/boost_mp11")
285-
286-
add_library(boost_mp11 INTERFACE)
287-
target_include_directories(boost_mp11 INTERFACE "${BOOST_MP11_ROOT}/include")
288-
289-
add_library(boost_describe INTERFACE)
290-
target_include_directories(boost_describe INTERFACE "${BOOST_DESCRIBE_ROOT}/include")
291-
target_link_libraries(boost_describe INTERFACE boost_mp11)
292-
set_target_properties(boost_describe boost_mp11 PROPERTIES
293-
EXPORT_NAME ""
294-
)
295-
296296
# Duktape
297297
find_package(duktape CONFIG)
298298
if (NOT DUKTAPE_FOUND)

0 commit comments

Comments
 (0)