[ismrmrd] 231/281: put Boost_NO_BOOST_CMAKE into if(WIN32)

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


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

ghisvail-guest pushed a commit to annotated tag ismrmrd0.5
in repository ismrmrd.

commit 0ff56461fa5a239917857629027b7f246e22c244
Author: Hui Xue <hui.xue at nih.gov>
Date:   Fri May 23 09:23:05 2014 -0400

    put Boost_NO_BOOST_CMAKE into if(WIN32)
---
 CMakeLists.txt | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 30a08a6..be68159 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -21,7 +21,10 @@ list(APPEND CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake)
 find_package(XSD REQUIRED)
 find_package(XercesC REQUIRED)
 
-set(Boost_NO_BOOST_CMAKE ON)
+if(WIN32)
+    set(Boost_NO_BOOST_CMAKE ON)
+endif(WIN32)
+
 if(WIN32)
   add_definitions( -DBOOST_ALL_NO_LIB )
   add_definitions( -DBOOST_ALL_DYN_LINK )

-- 
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