moving the find_package calls out into the parent project(s).

This commit is contained in:
Enno Rehling 2013-05-04 14:17:12 -07:00
parent eceafaf11c
commit fdd0a36730
2 changed files with 5 additions and 12 deletions

View File

@ -1,7 +0,0 @@
cmake_minimum_required(VERSION 2.6)
project (core C)
enable_testing()
add_subdirectory (../dependencies "${CMAKE_CURRENT_BINARY_DIR}/dependencies")
add_subdirectory (src eressea)

View File

@ -13,11 +13,11 @@ set (ERESSEA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "Eressea Cor
add_subdirectory(bindings)
find_package (Lua 5 REQUIRED)
find_package (ToLua REQUIRED)
find_package (LibXml2 REQUIRED)
find_package (Curses REQUIRED)
find_package (SQLite3 REQUIRED)
#find_package (Lua 5 REQUIRED)
#find_package (ToLua REQUIRED)
#find_package (LibXml2 REQUIRED)
#find_package (Curses REQUIRED)
#find_package (SQLite3 REQUIRED)
set (ERESSEA_LIBRARIES
${CUTEST_LIBRARIES}