[ismrmrd] 103/177: only use cpack packging prefix in linux

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:02:08 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to annotated tag v1.1.0.beta.1
in repository ismrmrd.

commit dcda3513ba87c8918f6c9c768b552d6f3aeaf820
Author: Hui Xue <hui.xue at nih.gov>
Date:   Fri Sep 26 09:45:49 2014 -0400

    only use cpack packging prefix in linux
---
 cmake/ismrmrd_cpack.cmake | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/cmake/ismrmrd_cpack.cmake b/cmake/ismrmrd_cpack.cmake
index 39d6fce..0a53d48 100644
--- a/cmake/ismrmrd_cpack.cmake
+++ b/cmake/ismrmrd_cpack.cmake
@@ -33,4 +33,6 @@ set(RPM_PACKAGE_DEPENDS "hdf5-devel")
 set(ISMRMRD_CPACK_CFG_FILE "${PROJECT_BINARY_DIR}/cpack_options.cmake")
 
 # where the package to be installed
-set(CPACK_PACKAGE_INSTALL_DIRECTORY ${CMAKE_INSTALL_PREFIX})
+if (NOT WIN32)
+    set(CPACK_PACKAGING_INSTALL_PREFIX ${CMAKE_INSTALL_PREFIX})
+endif (NOT WIN32)
\ No newline at end of file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/ismrmrd.git



More information about the debian-science-commits mailing list