File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,7 @@ target_include_directories(rocprim
45
45
$< BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} /include>
46
46
$< BUILD_INTERFACE:${CMAKE_CURRENT_BINARY_DIR} /include/rocprim>
47
47
$< BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR} /include>
48
- $< INSTALL_INTERFACE:include />
48
+ $< INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR} />
49
49
)
50
50
51
51
# This target links against HIP library
@@ -55,9 +55,6 @@ target_link_libraries(rocprim_hip INTERFACE rocprim hip::device)
55
55
56
56
# Installation
57
57
58
- include (GNUInstallDirs )
59
- set (INCLUDE_INSTALL_DIR ${CMAKE_INSTALL_INCLUDEDIR} )
60
-
61
58
# We need to install headers manually as rocm_install_targets
62
59
# does not support header-only libraries (INTERFACE targets)
63
60
rocm_install_targets (
Original file line number Diff line number Diff line change 4
4
#set(CMAKE_GENERATOR_PLATFORM x64)
5
5
6
6
if (DEFINED ENV{ROCM_PATH} )
7
- set (rocm_bin "$ENV{ROCM_PATH} /hip/ bin" )
7
+ set (rocm_bin "$ENV{ROCM_PATH} /bin" )
8
8
else ()
9
- set (rocm_bin "/opt/rocm/hip/ bin" )
9
+ set (rocm_bin "/opt/rocm/bin" )
10
10
endif ()
11
11
12
12
You can’t perform that action at this time.
0 commit comments