forked from retep998/Vana
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCMakeLists.txt
More file actions
31 lines (20 loc) · 835 Bytes
/
CMakeLists.txt
File metadata and controls
31 lines (20 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
cmake_minimum_required(VERSION 2.6)
project(Vana)
add_definitions(-std=c++11 -m32 -DDAEMON)
set(LIBRARY_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build/lib")
set(EXECUTABLE_OUTPUT_PATH "${CMAKE_SOURCE_DIR}/build/bin")
#### Finding libraries
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/Modules/")
set(Boost_USE_MULTITHREADED ON)
find_package(Boost 1.54.0 REQUIRED COMPONENTS filesystem system thread)
find_package(MySQL REQUIRED)
include_directories(${MYSQL_INCLUDE_DIR})
find_package(SOCI REQUIRED)
include_directories(${SOCI_CORE_INCLUDE_DIR})
include_directories(${SOCI_MYSQL_INCLUDE_DIR})
find_package(Lua52 REQUIRED)
include_directories(${LUA_INCLUDE_DIR})
find_package(Botan REQUIRED)
include_directories(${BOTAN_INCLUDE_DIR})
include_directories(${CMAKE_SOURCE_DIR}/src/common)
add_subdirectory(src)