diff options
Diffstat (limited to 'src/CMakeLists.txt')
-rw-r--r-- | src/CMakeLists.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 044afa367..c384286d4 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -143,6 +143,7 @@ endif(ENABLE_FREETYPE) find_package(Lua REQUIRED) +find_package(GMP REQUIRED) option(ENABLE_LEVELDB "Enable LevelDB backend" TRUE) set(USE_LEVELDB FALSE) @@ -446,6 +447,7 @@ include_directories( ${SOUND_INCLUDE_DIRS} ${SQLITE3_INCLUDE_DIR} ${LUA_INCLUDE_DIR} + ${GMP_INCLUDE_DIR} ${JSON_INCLUDE_DIR} ${PROJECT_SOURCE_DIR}/script ) @@ -479,6 +481,7 @@ if(BUILD_CLIENT) ${SOUND_LIBRARIES} ${SQLITE3_LIBRARY} ${LUA_LIBRARY} + ${GMP_LIBRARY} ${JSON_LIBRARY} ${OPENGLES2_LIBRARIES} ${PLATFORM_LIBS} @@ -532,6 +535,7 @@ if(BUILD_SERVER) ${JSON_LIBRARY} ${GETTEXT_LIBRARY} ${LUA_LIBRARY} + ${GMP_LIBRARY} ${PLATFORM_LIBS} ) set_target_properties(${PROJECT_NAME}server PROPERTIES |