Skip to content

Commit a2c1c6a

Browse files
committed
fix boost wave target's static configuration build (picked my fix-commit with a small logic bug)
1 parent b1cecd5 commit a2c1c6a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

3rdparty/boost/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,9 @@ endforeach()
3232

3333
add_subdirectory(superproject/libs/wave EXCLUDE_FROM_ALL)
3434

35+
list(APPEND NBL_BOOST_TARGETS boost_wave) # wave
3536
foreach(BOOST_LIB IN LISTS NBL_BOOST_LIBS)
36-
if(TARGET boost_${BOOST_LIB})
37+
if(TARGET boost_${BOOST_LIB}) # wave's deps
3738
list(APPEND NBL_BOOST_TARGETS boost_${BOOST_LIB})
3839
endif()
3940
endforeach()

0 commit comments

Comments
 (0)