diff --git a/CMakeLists.txt b/CMakeLists.txt index 43149c13..70299ee7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -28,7 +28,8 @@ endif() #--- perform some checks and generate the config.h ---------------------------- -#--- the next two lines are needed that the math functions are found ---------- +#--- the next three lines are needed that the math functions are found -------- +cmake_policy(SET CMP0075 NEW) set(CMAKE_REQUIRED_INCLUDES math.h) set(CMAKE_REQUIRED_LIBRARIES m)