Update package info
MODIFY
CMakeLists.txt
CMakeLists.txt
@@ -24,13 +24,13 @@ cmake_minimum_required(VERSION 3.5.1 FATAL_ERROR)
# Install prefix
if(WIN32)
- set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/package)
+ set(CMAKE_INSTALL_PREFIX ${PROJECT_BINARY_DIR}/package CACHE PATH "Install path prefix, prepended onto install directories")
else()
- set(CMAKE_INSTALL_PREFIX /opt/rocm)
+ set(CMAKE_INSTALL_PREFIX "/opt/rocm" CACHE PATH "Install path prefix, prepended onto install directories")
endif()
# Thrust project
-project(thrust VERSION 0.0.1.0 LANGUAGES CXX)
+project(thrust VERSION 2.5.0.0 LANGUAGES CXX)
# CMake modules
list(APPEND CMAKE_MODULE_PATH

MODIFY
thrust/CMakeLists.txt
thrust/CMakeLists.txt
@@ -85,6 +85,5 @@ rocm_export_targets(
PREFIX rocthrust
)
-# TODO: Add symlinks later
# Create symlinks
-# rocm_install_symlink_subdir(rocthrust)
+rocm_install_symlink_subdir(rocthrust)

Update package info