better return report
[dyn-nsupdate.git] / CMakeLists.txt
index 5879f85e455ba63aded2627b2ccd6ffff4207f74..de9fb111f7880e8cb4f0b6001080cd3e219f3d38 100644 (file)
@@ -1,12 +1,12 @@
 cmake_minimum_required(VERSION 2.6) 
 project(Dyn-NSupdate)
 
-FIND_PACKAGE( Boost 1.40 REQUIRED )
+FIND_PACKAGE( Boost 1.40 COMPONENTS regex program_options REQUIRED )
 INCLUDE_DIRECTORIES( ${Boost_INCLUDE_DIR} )
 
-set(DYNNSUPDATE_CONFIG_FILE "/some/config/file" CACHE FILEPATH "Choose the file dyn-nsupdate reads its configuration from (for security reasons, this is hard-coded in the binary)")
+set(DYNNSUPDATE_CONFIG_FILE "/var/lib/bind/dyn-nsupdate.conf" CACHE FILEPATH "Choose the file dyn-nsupdate reads its configuration from (for security reasons, this is hard-coded in the binary)")
 
-set(CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS}")
+set(CMAKE_CXX_FLAGS "-Wall -Wextra ${CMAKE_CXX_FLAGS} -std=c++11")
 
 add_definitions("-DCONFIG_FILE=\"${DYNNSUPDATE_CONFIG_FILE}\"")