Source

BayesOpt / CMakeLists.txt

Diff from to

CMakeLists.txt

   ${EXT_LIBS} ${PYTHON_LIB} )
 
 
-IF(BUILD_EXAMPLES)
+IF(BAYESOPT_BUILD_EXAMPLES)
   ADD_SUBDIRECTORY(examples)
-endif(BUILD_EXAMPLES)
+endif(BAYESOPT_BUILD_EXAMPLES)
 
 INSTALL(FILES 
   ./include/bayesoptcont.hpp