Open qis opened 2 years ago
https://github.com/boostorg/compute/blob/36350b7/CMakeLists.txt#L64 sets CMAKE_MODULE_PATH and overwrites CMake and possibly toolchain and Compiler/Platform settings.
CMAKE_MODULE_PATH
This prevents users from providing find_package scripts or configs that use include(... relative to the default or toolchain CMAKE_MODULE_PATH.
find_package
include(...
Please replace it with
list(APPEND CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
like the hof library does, or
hof
list(INSERT CMAKE_MODULE_PATH 0 ${CMAKE_BINARY_DIR}/cmake)
like the gil does.
gil
https://github.com/boostorg/compute/blob/36350b7/CMakeLists.txt#L64 sets
CMAKE_MODULE_PATH
and overwrites CMake and possibly toolchain and Compiler/Platform settings.This prevents users from providing
find_package
scripts or configs that useinclude(...
relative to the default or toolchainCMAKE_MODULE_PATH
.Please replace it with
like the
hof
library does, orlike the
gil
does.