From 310acae7bfa3cdb171943d35ddc7a69be246ccf0 Mon Sep 17 00:00:00 2001
From: Adam Wardynski <award@.(win7-laptop)>
Date: Thu, 18 Nov 2010 18:01:08 +0100
Subject: [PATCH] Explicitly set Boost_USE_STATIC_LIBS to OFF

---
 CMakeLists.txt | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index e0343cd..4ccdc1f 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -41,13 +41,7 @@ endif(CMAKE_COMPILER_IS_GNUCXX)
 set(LIBS "")
 include_directories(${Corpus2Library_SOURCE_DIR})
 
-if(WIN32)
-# Need to work out how to properly link to boost DLLs on Windows
-# For now, just link to static boost libs to make it work
-	set(Boost_USE_STATIC_LIBS        ON)
-	set(Boost_USE_MULTITHREADED      ON)
-	set(Boost_USE_STATIC_RUNTIME    OFF)
-endif(WIN32)
+set(Boost_USE_STATIC_LIBS        OFF)
 find_package(Boost 1.41 REQUIRED COMPONENTS program_options filesystem regex)
 
 set(LIBCORPUS2_INSTALL_DATA_DIR share/corpus2)
-- 
GitLab