Commit 2a370475 authored by incardon's avatar incardon
Browse files

Fixing Boost detection

parent 89fd85a4
Pipeline #2527 failed with stages
in 4 seconds
......@@ -8,7 +8,7 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_CURRENT_LIST_DIR}/cmake_modules/)
set (CMAKE_CXX_STANDARD 14)
set (CMAKE_CUDA_STANDARD 14)
find_package(Boost 1.68.0 REQUIRED COMPONENTS unit_test_framework iostreams program_options OPTIONAL_COMPONENTS fiber context)
find_package(Boost 1.72.0 REQUIRED COMPONENTS unit_test_framework iostreams program_options OPTIONAL_COMPONENTS fiber context)
set(CUDA_ON_CPU CACHE BOOL "Make Cuda work on heap")
......
......@@ -380,7 +380,9 @@ include(${CMAKE_CURRENT_LIST_DIR}/FindPackageHandleStandardArgs.cmake)
# Save project's policies
cmake_policy(PUSH)
cmake_policy(SET CMP0057 NEW) # if IN_LIST
#cmake_policy(SET CMP0102 NEW) # if mark_as_advanced(non_cache_var)
if (${CMAKE_VERSION} VERSION_GREATER_EQUAL "3.17.0")
cmake_policy(SET CMP0102 NEW) # if mark_as_advanced(non_cache_var)
endif()
function(_boost_get_existing_target component target_var)
set(names "${component}")
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment