comparison CMakeLists.txt @ 911:bf4c8737b52c

Add curl as a build option
author Andre Heinecke <andre.heinecke@intevation.de>
date Mon, 18 Aug 2014 18:52:31 +0200
parents 3ae7ad044566
children dcb6ed6ad594
comparison
equal deleted inserted replaced
910:eaed02defe6a 911:bf4c8737b52c
8 cmake_minimum_required(VERSION 2.8.8) 8 cmake_minimum_required(VERSION 2.8.8)
9 project(trustbridge) 9 project(trustbridge)
10 10
11 option(DO_RELEASE_BUILD "Build for a public release." OFF) 11 option(DO_RELEASE_BUILD "Build for a public release." OFF)
12 option(ENABLE_PROFILING "Set to enable profiling." OFF) 12 option(ENABLE_PROFILING "Set to enable profiling." OFF)
13 option(USE_CURL "Use libcurl to download updates and certificate lists." ON)
13 14
14 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/") 15 set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} "${CMAKE_SOURCE_DIR}/cmake/")
15 16
16 #Old qtmain linking behavior to be compatible with cmake versions < 2.8.11 17 #Old qtmain linking behavior to be compatible with cmake versions < 2.8.11
17 18

http://wald.intevation.org/projects/trustbridge/