CMakeLists.txt 263 Bytes
Newer Older
1 2
project(medialibrary)
cmake_minimum_required(VERSION 2.8)
3 4
set(CMAKE_MODULE_PATH ${CMAKE_SOURCE_DIR}/cmake ${CMAKE_MODULE_PATH})

5 6
option(BUILD_TESTS "Shall unit tests be built?" ON)

Hugo Beauzée-Luyssen's avatar
Hugo Beauzée-Luyssen committed
7
add_subdirectory( src )
8 9 10
if (${BUILD_TESTS})
    add_subdirectory( test )
endif()