Skip to content

Commit

Permalink
Fix CMP0167 CMake warning
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterTh committed Dec 31, 2024
1 parent f677706 commit 594a6a3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ if(CMAKE_GENERATOR STREQUAL "Ninja")
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fdiagnostics-color=always")
endif()

find_package(Boost 1.70 COMPONENTS context REQUIRED)
find_package(Boost 1.70 CONFIG COMPONENTS context REQUIRED)

include(FetchContent)

Expand Down
2 changes: 1 addition & 1 deletion cmake/simsycl-config.cmake.in
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ set(SIMSYCL_LIBRARY SimSYCL::simsycl)
set(SIMSYCL_ORIGINAL_CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}")
set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${SIMSYCL_CMAKE_DIR}")

find_dependency(Boost 1.70 COMPONENTS context REQUIRED)
find_dependency(Boost 1.70 CONFIG COMPONENTS context REQUIRED)
find_dependency(nlohmann_json)
find_dependency(libenvpp)

Expand Down

0 comments on commit 594a6a3

Please sign in to comment.