5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
13 lines
711 B
Diff
13 lines
711 B
Diff
diff --git a/thrust/thrust/cmake/thrust-header-search.cmake.in b/thrust/thrust/cmake/thrust-header-search.cmake.in
|
|
index 8529d89fe..94879ee01 100644
|
|
--- a/thrust/thrust/cmake/thrust-header-search.cmake.in
|
|
+++ b/thrust/thrust/cmake/thrust-header-search.cmake.in
|
|
@@ -7,7 +7,6 @@ set(from_install_prefix "@from_install_prefix@")
|
|
find_path(_THRUST_VERSION_INCLUDE_DIR thrust/version.h
|
|
NO_CMAKE_FIND_ROOT_PATH # Don't allow CMake to re-root the search
|
|
NO_DEFAULT_PATH # Only search explicit paths below:
|
|
- PATHS
|
|
- "${CMAKE_CURRENT_LIST_DIR}/${from_install_prefix}/@CMAKE_INSTALL_INCLUDEDIR@"
|
|
+ PATHS "@CMAKE_INSTALL_INCLUDEDIR@"
|
|
)
|
|
set_property(CACHE _THRUST_VERSION_INCLUDE_DIR PROPERTY TYPE INTERNAL)
|