-
Notifications
You must be signed in to change notification settings - Fork 0
/
CMakeLists.txt
25 lines (23 loc) · 861 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(compressie)
include_directories("include")
set(CMAKE_CXX_FLAGS "-std=c++0x -Wall")
if (CMAKE_BUILD_TYPE MATCHES "[Dd][Ee][Bb][Uu][Gg]")
message( "DEBUG BUILD ON" )
set(CMAKE_VERBOSE_MAKEFILE_ON)
set(DEBUG_BUILD 1)
add_definitions(-DDEBUG)
endif()
set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_CURRENT_SOURCE_DIR}/Modules)
find_package(ImageMagick COMPONENTS Magick++ REQUIRED)
include_directories(${ImageMagick_INCLUDE_DIRS})
find_package(Armadillo REQUIRED)
include_directories(${ARMADILLO_INCLUDE_DIRS})
find_package(FFTW REQUIRED)
include_directories(${FFTW_INCLUDE_DIR})
find_package(Protobuf REQUIRED)
include_directories(${PROTOBUF_INCLUDE_DIRS})
find_package(Pthreads REQUIRED)
include_directories(${PTHREADS_INCLUDE_DIRS})
add_subdirectory(src)
#notitie: armadillo heeft ook boost::math nodig