2016-12-15 21:23:35 +01:00
|
|
|
cmake_minimum_required(VERSION 2.8.11)
|
2017-03-07 10:30:48 +01:00
|
|
|
project(caesiumclt)
|
2016-12-15 21:23:35 +01:00
|
|
|
|
2016-12-28 16:33:45 +01:00
|
|
|
# The version number.
|
|
|
|
set(VERSION_MAJOR 0)
|
2021-10-24 12:13:48 +02:00
|
|
|
set(VERSION_MINOR 16)
|
|
|
|
set(VERSION_PATCH 0)
|
2016-12-28 16:33:45 +01:00
|
|
|
|
|
|
|
configure_file(
|
|
|
|
"src/config.h.in"
|
|
|
|
"${PROJECT_BINARY_DIR}/config.h"
|
|
|
|
)
|
2021-10-24 12:13:48 +02:00
|
|
|
if (NOT DEFINED LIBCAESIUM_PATH)
|
|
|
|
message(FATAL_ERROR "LIBCAESIUM_PATH is not defined. Cannot find libcaesium.")
|
2019-09-28 20:02:33 +02:00
|
|
|
endif ()
|
|
|
|
|
2021-10-24 12:13:48 +02:00
|
|
|
link_directories(${LIBCAESIUM_PATH})
|
|
|
|
|
|
|
|
include_directories("${PROJECT_BINARY_DIR}")
|
2018-12-26 17:59:32 +01:00
|
|
|
|
2016-12-15 21:23:35 +01:00
|
|
|
add_subdirectory(src)
|