-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BOOST_ALL_NO_LIB for OPENMIND_USE_VCPKG
- Loading branch information
Showing
6 changed files
with
73 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
|
||
set(DEPENDENCIES boost) | ||
if(Boost_FOUND) | ||
if(NOT MSVC OR OPENMIND_USE_CONAN) | ||
set(DEPENDENCIES ${DEPENDENCIES} Boost::filesystem) | ||
if(OPENMIND_BUILD_TESTS) | ||
set(DEPENDENCIES ${DEPENDENCIES} | ||
Boost::test_exec_monitor | ||
Boost::unit_test_framework | ||
if (OPENMIND_USE_VCPKG) | ||
set(DEPENDENCIES | ||
Boost::filesystem | ||
Boost::multiprecision | ||
Boost::system | ||
) | ||
if(OPENMIND_BUILD_TESTS) | ||
list(APPEND DEPENDENCIES Boost::unit_test_framework) | ||
endif() | ||
else () | ||
set(DEPENDENCIES boost) | ||
if(Boost_FOUND) | ||
if(NOT MSVC OR OPENMIND_USE_CONAN) | ||
list(APPEND DEPENDENCIES Boost::filesystem) | ||
if(OPENMIND_BUILD_TESTS) | ||
list(APPEND DEPENDENCIES | ||
Boost::test_exec_monitor | ||
Boost::unit_test_framework | ||
) | ||
endif() | ||
endif() | ||
endif() | ||
endif() | ||
|
||
if(OPENMIND_USE_OPENCL) | ||
set(DEPENDENCIES ${DEPENDENCIES} OpenCL) | ||
list(APPEND DEPENDENCIES OpenCL) | ||
if (OPENMIND_USE_VCPKG) | ||
list(APPEND DEPENDENCIES Boost::compute) | ||
endif() | ||
endif() | ||
|
||
lib(${DEPENDENCIES}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters