added cmake policy for initial math tests.
This commit is contained in:
parent
70013be8fc
commit
fab31e13c7
@ -28,7 +28,8 @@ endif()
|
|||||||
|
|
||||||
#--- perform some checks and generate the config.h ----------------------------
|
#--- 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_INCLUDES math.h)
|
||||||
set(CMAKE_REQUIRED_LIBRARIES m)
|
set(CMAKE_REQUIRED_LIBRARIES m)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user