[arrayfire] 42/61: Fix examples installation directory
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Tue Dec 8 11:55:09 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch dfsg-clean
in repository arrayfire.
commit 99fe1acf83c17b906a129e0926ae89700cafd664
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Wed Dec 2 14:15:14 2015 -0500
Fix examples installation directory
---
CMakeModules/AFInstallDirs.cmake | 2 +-
examples/CMakeLists.txt | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/CMakeModules/AFInstallDirs.cmake b/CMakeModules/AFInstallDirs.cmake
index 8fc4c3a..1060f80 100644
--- a/CMakeModules/AFInstallDirs.cmake
+++ b/CMakeModules/AFInstallDirs.cmake
@@ -30,7 +30,7 @@ if(NOT DEFINED AF_INSTALL_DOC_DIR)
endif()
if(NOT DEFINED AF_INSTALL_EXAMPLE_DIR)
- set(AF_INSTALL_EXAMPLE_DIR "${AF_INSTALL_DATA_DIR}" CACHE PATH "Installation path for examples")
+ set(AF_INSTALL_EXAMPLE_DIR "${AF_INSTALL_DATA_DIR}/examples" CACHE PATH "Installation path for examples")
endif()
# Man pages
diff --git a/examples/CMakeLists.txt b/examples/CMakeLists.txt
index d42f273..1ffb82b 100644
--- a/examples/CMakeLists.txt
+++ b/examples/CMakeLists.txt
@@ -132,5 +132,5 @@ INSTALL(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/"
COMPONENT examples)
INSTALL(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/../assets/examples"
- DESTINATION "${AF_INSTALL_EXAMPLE_DIR}/assets/"
+ DESTINATION "${AF_INSTALL_EXAMPLE_DIR}/assets"
)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/arrayfire.git
More information about the debian-science-commits
mailing list