forked from github/server
fix travis build by not depending on CMake 2.8.8
This commit is contained in:
parent
dc004b2d71
commit
b0799bd152
|
@ -1,4 +1,4 @@
|
|||
cmake_minimum_required(VERSION 2.8.8)
|
||||
cmake_minimum_required(VERSION 2.8)
|
||||
project (server C)
|
||||
|
||||
include_directories (${CMAKE_CURRENT_SOURCE_DIR})
|
||||
|
@ -173,11 +173,10 @@ set (SERVER_SRC ${SERVER_SRC}
|
|||
)
|
||||
endif(CURSES_FOUND)
|
||||
|
||||
add_library(version OBJECT ${VERSION_SRC})
|
||||
add_library(game ${ERESSEA_SRC}
|
||||
$<TARGET_OBJECTS:version>
|
||||
)
|
||||
add_library(version STATIC ${VERSION_SRC})
|
||||
add_library(game ${ERESSEA_SRC})
|
||||
add_executable(eressea ${SERVER_SRC})
|
||||
target_link_libraries(game version)
|
||||
target_link_libraries(eressea
|
||||
game
|
||||
${TOLUA_LIBRARIES}
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project(kernel C)
|
||||
|
||||
SET(_TEST_FILES
|
||||
|
|
Loading…
Reference in New Issue