Skip to content

Commit abca5dd

Browse files
committed
Append boost libs to not override libraries requested by Jinja2Cpp users
1 parent 475db6e commit abca5dd

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

thirdparty/CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ if(boost_filesystem_FOUND AND
7878
else()
7979
message(STATUS "One or more boost modules not found, using submodule")
8080
update_submodule(boost)
81-
set(BOOST_CMAKE_LIBRARIES filesystem algorithm variant optional CACHE INTERNAL "")
81+
list(APPEND BOOST_CMAKE_LIBRARIES filesystem algorithm variant optional)
82+
set(BOOST_CMAKE_LIBRARIES ${BOOST_CMAKE_LIBRARIES} CACHE INTERNAL "")
8283
add_subdirectory(boost EXCLUDE_FROM_ALL)
8384

8485
if(NOT MSVC)

0 commit comments

Comments
 (0)