fix travis build by not depending on CMake 2.8.8

This commit is contained in:
Enno Rehling 2016-09-16 10:55:38 +02:00
parent dc004b2d71
commit b0799bd152
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
cmake_minimum_required(VERSION 2.8.8) cmake_minimum_required(VERSION 2.8)
project (server C) project (server C)
include_directories (${CMAKE_CURRENT_SOURCE_DIR}) include_directories (${CMAKE_CURRENT_SOURCE_DIR})
@ -173,11 +173,10 @@ set (SERVER_SRC ${SERVER_SRC}
) )
endif(CURSES_FOUND) endif(CURSES_FOUND)
add_library(version OBJECT ${VERSION_SRC}) add_library(version STATIC ${VERSION_SRC})
add_library(game ${ERESSEA_SRC} add_library(game ${ERESSEA_SRC})
$<TARGET_OBJECTS:version>
)
add_executable(eressea ${SERVER_SRC}) add_executable(eressea ${SERVER_SRC})
target_link_libraries(game version)
target_link_libraries(eressea target_link_libraries(eressea
game game
${TOLUA_LIBRARIES} ${TOLUA_LIBRARIES}

View File

@ -1,3 +1,4 @@
cmake_minimum_required(VERSION 2.6)
project(kernel C) project(kernel C)
SET(_TEST_FILES SET(_TEST_FILES