[ismrmrd] 240/281: enabling Boost_NO_BOOST_CMAKE option for all systems

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Wed Jan 14 20:01:19 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 490c2b95390a1493d4cea8d0e3b6f1a209cd8479
Author: Joseph Naegele <joseph.naegele at gmail.com>
Date:   Fri Jun 20 12:13:27 2014 -0400

    enabling Boost_NO_BOOST_CMAKE option for all systems
    
    this is necessary for Windows and RHEL <=6 systems and harmless on all others.
---
 CMakeLists.txt | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index cd406f1..f9b3826 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -3,7 +3,7 @@ project(ISMRMRD)
 
 enable_testing()
 
-#Set the build type to Release if not specified                                                                                                                                                                                                                                         
+#Set the build type to Release if not specified
 IF(NOT CMAKE_BUILD_TYPE)
   SET(CMAKE_BUILD_TYPE Release CACHE STRING
       "Choose the type of build, options are: None Debug Release RelWithDebInfo MinSizeRel."
@@ -44,9 +44,8 @@ endif (WIN32)
 find_package(Boost COMPONENTS thread system REQUIRED)
 find_package(HDF5 1.8 COMPONENTS C CXX HL REQUIRED)
 
-if(WIN32)
-    set(Boost_NO_BOOST_CMAKE ON)
-endif(WIN32)
+# necessary for Windows and RHEL <=6 systems
+set(Boost_NO_BOOST_CMAKE ON)
 
 if(WIN32)
   add_definitions( -DBOOST_ALL_NO_LIB )

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