From 491c536ea7f787365e0bc8424c2d376fb690d758 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 31 May 2010 12:29:24 +0000 Subject: [PATCH] * ./hurricane: - Change: When static linking is required, also switch Boost libraries in static mode. Automatically done is modules using FindHURRICANE through SET_LIB_LINK_MODE(). Note: FindBoost must be called *after* SET_LIB_LINK_MODE(). --- unicorn/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unicorn/CMakeLists.txt b/unicorn/CMakeLists.txt index 4d537664..1d725046 100644 --- a/unicorn/CMakeLists.txt +++ b/unicorn/CMakeLists.txt @@ -52,7 +52,6 @@ SETUP_PROJECT_PATHS(CORIOLIS) SET(QT_USE_QTXML "true") -FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED) FIND_PACKAGE(Qt4 REQUIRED) # find and setup Qt4 for this project FIND_PACKAGE(LEFDEF REQUIRED) FIND_PACKAGE(VLSISAPD REQUIRED) @@ -65,5 +64,6 @@ FIND_PACKAGE(KITE REQUIRED) #FIND_PACKAGE(SOLSTICE REQUIRED) SET_LIB_LINK_MODE() +FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED) ADD_SUBDIRECTORY(src)