Diff of /CMakeLists.txt [c804b6] .. [af5ab8]  Maximize  Restore

Switch to side-by-side view

--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -67,6 +67,12 @@
 include_directories( ${CMAKE_SOURCE_DIR}/src/foreign )
 include_directories( ${CMAKE_SOURCE_DIR}/src/foreign/vigra )
 include_directories( ${CMAKE_SOURCE_DIR}/src/celeste )
+
+# this function is not available on some systems, notably FreeBSD
+include(CheckFunctionExists)
+set(CMAKE_REQUIRED_LIBRARIES -lm)
+check_function_exists(log2 HAVE_LOG2)
+message("LOG2 ${HAVE_LOG2}")
 
 #
 # find dependencies

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks