forked from github/server
fix travis build by not depending on CMake 2.8.8
This commit is contained in:
parent
00a3a934f5
commit
bf59b1adf9
|
@ -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})
|
||||||
|
@ -171,11 +171,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}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
cmake_minimum_required(VERSION 2.6)
|
||||||
project(kernel C)
|
project(kernel C)
|
||||||
|
|
||||||
SET(_TEST_FILES
|
SET(_TEST_FILES
|
||||||
|
|
Loading…
Reference in New Issue