Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /CMakeLists.txt [79da63] .. [37ffb3] Maximize Restore

  Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -269,13 +269,16 @@
     set(BOOST_ROOT ${SOURCE_BASE_DIR}/boost${Boost_root_suffix}) 
    endif(NOT BOOST_ROOT AND NOT $ENV{BOOST_ROOT} STREQUAL "") 
 ENDIF(WIN32)
-FIND_PACKAGE(Boost 1.41 COMPONENTS thread date_time regex filesystem iostreams system signals)
-IF (NOT Boost_FOUND)
-  IF(WIN32)
-    MESSAGE(FATAL_ERROR "Boost not found. Bad BOOST_ROOT? On windows, try editing Boost_root_suffix")
-  ELSE()
-    MESSAGE(FATAL_ERROR "Boost not found. Maybe wrong version. Hugin requires at least version 1.41")
-  ENDIF()
+FIND_PACKAGE(Boost 1.54 COMPONENTS thread date_time regex filesystem iostreams system)
+IF(NOT Boost_FOUND)
+  FIND_PACKAGE(Boost 1.41 COMPONENTS thread date_time regex filesystem iostreams system signals)
+  IF (NOT Boost_FOUND)
+    IF(WIN32)
+      MESSAGE(FATAL_ERROR "Boost not found. Bad BOOST_ROOT? On windows, try editing Boost_root_suffix")
+    ELSE()
+      MESSAGE(FATAL_ERROR "Boost not found. Maybe wrong version. Hugin requires at least version 1.41")
+    ENDIF()
+  ENDIF (NOT Boost_FOUND)
 ENDIF (NOT Boost_FOUND)
 
 INCLUDE_DIRECTORIES(${Boost_INCLUDE_DIRS})