|
From: Lasse Kärkkäi. <tr...@us...> - 2009-11-14 18:44:09
|
Module: performous
Branch: dance
Commit: b998b79c9901faf4a7a108384495e86dc13e1999
Author: Lasse Karkkainen <tro...@tr...>
Date: Wed Nov 11 21:32:52 2009 +0200
CMakeLists.txt fixes, updated Boost version requirement
---
game/CMakeLists.txt | 2 +-
libs/plugin++/CMakeLists.txt | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/game/CMakeLists.txt b/game/CMakeLists.txt
index 3b191fa..d105f0d 100644
--- a/game/CMakeLists.txt
+++ b/game/CMakeLists.txt
@@ -7,7 +7,7 @@ set(SOURCES ${SOURCE_FILES} ${HEADER_FILES})
# Libraries
-find_package(Boost 1.34 REQUIRED COMPONENTS thread date_time program_options regex filesystem)
+find_package(Boost 1.36 REQUIRED COMPONENTS thread date_time program_options regex filesystem)
include_directories(${Boost_INCLUDE_DIRS})
set(LIBS ${LIBS} ${Boost_LIBRARIES})
diff --git a/libs/plugin++/CMakeLists.txt b/libs/plugin++/CMakeLists.txt
index 79fc033..76494e7 100644
--- a/libs/plugin++/CMakeLists.txt
+++ b/libs/plugin++/CMakeLists.txt
@@ -10,6 +10,10 @@ endif(CMAKE_COMPILER_IS_GNUCXX)
add_library(plugin++ SHARED src/dll.cc src/execname.cc src/loader.cc)
+find_package(Boost 1.36 REQUIRED COMPONENTS filesystem)
+include_directories(${Boost_INCLUDE_DIRS})
+target_link_libraries(plugin++ ${Boost_LIBRARIES})
+
if(NOT WIN32)
target_link_libraries(plugin++ dl)
endif()
|