forked from github/server
order of commands needs to be altered so bindings get the correct
include directory.
This commit is contained in:
parent
e23016f0f0
commit
457c111da2
|
@ -1,8 +1,6 @@
|
|||
cmake_minimum_required(VERSION 2.6)
|
||||
project (eressea C)
|
||||
|
||||
add_subdirectory(bindings)
|
||||
|
||||
IF(CMAKE_COMPILER_IS_GNUCC)
|
||||
SET(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -pedantic -Wall -Werror -Wno-unknown-pragmas -Wstrict-prototypes -Wpointer-arith -Wno-char-subscripts -Wno-long-long")
|
||||
ELSE(CMAKE_COMPILER_IS_GNUCC)
|
||||
|
@ -12,6 +10,8 @@ ENDIF(CMAKE_COMPILER_IS_GNUCC)
|
|||
set (ERESSEA_LIBRARY ${PROJECT_NAME} CACHE INTERNAL "Eressea Core Library")
|
||||
set (ERESSEA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR} CACHE INTERNAL "Eressea Core headers")
|
||||
|
||||
add_subdirectory(bindings)
|
||||
|
||||
find_package (Lua51 REQUIRED)
|
||||
find_package (ToLua REQUIRED)
|
||||
find_package (LibXml2 REQUIRED)
|
||||
|
|
Loading…
Reference in New Issue