summaryrefslogtreecommitdiff
path: root/sci-libs/sundials/files/sundials-7.3.0-fix-license-install-path.patch
blob: 18151ca02c70c8352e8467f25ed843813a1a286e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 0b76779..dfa0e29 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -259,9 +259,9 @@ endif()
 
 # install license and notice files
 install(FILES "${PROJECT_SOURCE_DIR}/LICENSE"
-        DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials")
+        DESTINATION "${CMAKE_INSTALL_DOCDIR}")
 install(FILES "${PROJECT_SOURCE_DIR}/NOTICE"
-        DESTINATION "${CMAKE_INSTALL_INCLUDEDIR}/sundials")
+        DESTINATION "${CMAKE_INSTALL_DOCDIR}")
 
 # create package version file
 include(CMakePackageConfigHelpers)