From d8c4c8e754d02129e8a850690fd95f0ee41d4e5b Mon Sep 17 00:00:00 2001 From: Matthias Maier Date: Sat, 23 May 2020 02:33:24 -0500 Subject: dev-cpp/cpp-taskflow: also install cmake project configuration Package-Manager: Portage-2.3.99, Repoman-2.3.22 Signed-off-by: Matthias Maier --- .../cpp-taskflow-2.4.0-fix_installation_path.patch | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 dev-cpp/cpp-taskflow/files/cpp-taskflow-2.4.0-fix_installation_path.patch (limited to 'dev-cpp/cpp-taskflow/files/cpp-taskflow-2.4.0-fix_installation_path.patch') diff --git a/dev-cpp/cpp-taskflow/files/cpp-taskflow-2.4.0-fix_installation_path.patch b/dev-cpp/cpp-taskflow/files/cpp-taskflow-2.4.0-fix_installation_path.patch new file mode 100644 index 000000000000..f68e572f5ab2 --- /dev/null +++ b/dev-cpp/cpp-taskflow/files/cpp-taskflow-2.4.0-fix_installation_path.patch @@ -0,0 +1,22 @@ +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 190dabe..6d613d6 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,7 +6,7 @@ MESSAGE(STATUS "CMAKE_ROOT: " ${CMAKE_ROOT}) + #_cmake_modify_IGNORE set(CMAKE_VERBOSE_MAKEFILE ON) + + # Project name +-project(Cpp-Taskflow VERSION 2.3.1 LANGUAGES CXX) ++project(Cpp-Taskflow VERSION 2.4.0 LANGUAGES CXX) + + # build options + option(TF_ENABLE_CUDA "Enables build of cuda code" OFF) +@@ -748,7 +748,7 @@ write_basic_package_version_file( + install( + FILES ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}Config.cmake + ${CMAKE_CURRENT_BINARY_DIR}/${PROJECT_NAME}ConfigVersion.cmake +- DESTINATION ${TF_LIB_INSTALL_DIR}/cmake ++ DESTINATION ${TF_LIB_INSTALL_DIR}/cmake/${PROJECT_NAME} + ) + + -- cgit v1.2.3