File tree Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Expand file tree Collapse file tree 3 files changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -357,6 +357,7 @@ set(NBL_3RDPARTY_TARGETS
357
357
SPIRV-Tools-opt
358
358
Imath
359
359
OpenEXRCore
360
+ ${NBL_BOOST_TARGETS}
360
361
)
361
362
if (_NBL_COMPILE_WITH_OPEN_EXR_ )
362
363
list (APPEND NBL_3RDPARTY_TARGETS
Original file line number Diff line number Diff line change @@ -32,6 +32,16 @@ endforeach()
32
32
33
33
add_subdirectory (superproject/libs/wave EXCLUDE_FROM_ALL )
34
34
35
+ foreach (BOOST_LIB IN LISTS NBL_BOOST_LIBS )
36
+ if (TARGET boost_${BOOST_LIB} )
37
+ list (APPEND NBL_BOOST_TARGETS boost_${BOOST_LIB} )
38
+ endif ()
39
+ endforeach ()
40
+
41
+ set (NBL_BOOST_TARGETS
42
+ ${NBL_BOOST_TARGETS}
43
+ PARENT_SCOPE )
44
+
35
45
# Boost uses it's own tool for generating dependency list for targets, therefore we
36
46
# can make sure manually added dependnecy subdirectories for a library are valid
37
47
# https://www.boost.org/doc/libs/1_83_0/tools/boostdep/doc/html/index.html#boostdep.introduction.building_boostdep
Original file line number Diff line number Diff line change @@ -256,6 +256,7 @@ macro(nbl_adjust_definitions)
256
256
PNG_NO_MNG_FEATURES
257
257
_7ZIP_ST
258
258
SPIRV_CROSS_EXCEPTIONS_TO_ASSERTIONS
259
+ BOOST_ALL_NO_LIB
259
260
)
260
261
261
262
if (ANDROID )
You can’t perform that action at this time.
0 commit comments