forked from lijiext/lammps
if we want to check for C++ includes, we should now check for cmath not math.h
This commit is contained in:
parent
3cbf009ce6
commit
6fbd0c08cc
|
@ -756,7 +756,7 @@ endif()
|
|||
# Basic system tests (standard libraries, headers, functions, types) #
|
||||
########################################################################
|
||||
include(CheckIncludeFileCXX)
|
||||
foreach(HEADER math.h)
|
||||
foreach(HEADER cmath)
|
||||
check_include_file_cxx(${HEADER} FOUND_${HEADER})
|
||||
if(NOT FOUND_${HEADER})
|
||||
message(FATAL_ERROR "Could not find needed header - ${HEADER}")
|
||||
|
|
Loading…
Reference in New Issue