Skip to content
Snippets Groups Projects
Commit 74357234 authored by Martin Beseda's avatar Martin Beseda
Browse files

FIX: Added WinAPI Boost lib when downloading Boost on Windows.

parent 060b81bc
No related branches found
No related tags found
No related merge requests found
...@@ -7,6 +7,12 @@ include(FetchContent) ...@@ -7,6 +7,12 @@ include(FetchContent)
################## ##################
# Download Boost # # Download Boost #
################## ##################
set(WINAPI_BOOST_LIB "")
if(WIN32)
set(WINAPI_BOOST_LIB libs/winapi)
endif()
endif ()
FetchContent_Declare( FetchContent_Declare(
boost boost
SOURCE_DIR ${BOOST_LOCAL_PATH} SOURCE_DIR ${BOOST_LOCAL_PATH}
...@@ -25,7 +31,7 @@ FetchContent_Declare( ...@@ -25,7 +31,7 @@ FetchContent_Declare(
libs/range libs/numeric libs/format libs/range libs/numeric libs/format
libs/lexical_cast libs/concept_check libs/lexical_cast libs/concept_check
libs/container libs/math libs/function_types libs/container libs/math libs/function_types
libs/typeof libs/typeof ${WINAPI_BOOST_LIB}
) )
set(FETCHCONTENT_QUIET FALSE) set(FETCHCONTENT_QUIET FALSE)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment