-
Notifications
You must be signed in to change notification settings - Fork 26
/
Copy pathCMakeLists.txt
25 lines (17 loc) · 872 Bytes
/
CMakeLists.txt
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
cmake_minimum_required(VERSION 2.8)
project(voxelquest)
set(Boost_INCLUDE_DIR /usr/local/boost_1_53_0)
set(Boost_LIBRARY_DIR /usr/local/boost_1_53_0/stage/lib)
find_package(Boost COMPONENTS system filesystem REQUIRED)
include_directories(${Boost_INCLUDE_DIR})
link_directories(${Boost_LIBRARY_DIR})
find_library(POCO_FOUNDATION PocoFoundation REQUIRED)
find_library(POCO_NET PocoNet REQUIRED)
find_library(POCO_UTIL PocoUtil REQUIRED)
#include_directories ("${PROJECT_SOURCE_DIR}/CompiledSource")
#add_subdirectory (CompiledSource)
add_executable(voxelquest ${PROJECT_SOURCE_DIR}/CompiledSource/main.cpp)
find_package(OpenGL REQUIRED)
find_package(GLUT REQUIRED)
include_directories( ${OPENGL_INCLUDE_DIRS} ${GLUT_INCLUDE_DIRS} )
target_link_libraries(voxelquest ${Boost_LIBRARIES} ${POCO_FOUNDATION} ${POCO_NET} ${POCO_UTIL} ${OPENGL_LIBRARIES} ${GLUT_LIBRARY} )