From 0d66fc6eb47c0a433c9b07422b3206a6804c9158 Mon Sep 17 00:00:00 2001 From: Jean-Paul Chaput Date: Mon, 31 May 2010 12:28:55 +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(). --- kite/CMakeLists.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/kite/CMakeLists.txt b/kite/CMakeLists.txt index 95518f70..477670f6 100644 --- a/kite/CMakeLists.txt +++ b/kite/CMakeLists.txt @@ -44,9 +44,7 @@ SET(QT_USE_QTXML "true") IF(BUILD_DOC) FIND_PACKAGE(Doxygen) ENDIF(BUILD_DOC) -FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED) FIND_PACKAGE(Qt4 REQUIRED) # find and setup Qt4 for this project -FIND_PACKAGE(Boost 1.33.1 REQUIRED) FIND_PACKAGE(VLSISAPD REQUIRED) FIND_PACKAGE(LEFDEF REQUIRED) FIND_PACKAGE(HURRICANE REQUIRED) @@ -55,6 +53,7 @@ FIND_PACKAGE(KNIK REQUIRED) FIND_PACKAGE(KATABATIC REQUIRED) SET_LIB_LINK_MODE() +FIND_PACKAGE(Boost 1.33.1 COMPONENTS program_options REQUIRED) IF(CHECK_DATABASE) ADD_DEFINITIONS(-DCHECK_DATABASE)