I am trying to build I-Simpa on the Mac.
When I try and build at the spps stage, I get errors about clock_gettime
not found. I tried altering the CMakelists.txt in the spps directory as in this question:
check_library_exists(rt clock_gettime "time.h" HAVE_CLOCK_GETTIME)
if (NOT HAVE_CLOCK_GETTIME)
set(CMAKE_EXTRA_INCLUDE_FILES time.h)
CHECK_FUNCTION_EXISTS(clock_gettime HAVE_CLOCK_GETTIME)
SET(CMAKE_EXTRA_INCLUDE_FILES)
endif()
But I then get the error:
Unknown CMake command "CHECK_FUNCTION_EXISTS"