mirror of
https://github.com/fabiangreffrath/woof.git
synced 2025-09-22 03:12:00 -04:00
rename m_FOUND -> HAVE_LIBM
This commit is contained in:
parent
7bc9edebb6
commit
a45ee95d57
@ -64,7 +64,7 @@ option("${PROJECT_NAME}_RANGECHECK" "Enable bounds-checking of performance-sensi
|
||||
option("${PROJECT_NAME}_STRICT" "Prefer original MBF code paths over demo compatiblity with PrBoom+" OFF)
|
||||
|
||||
# Compiler environment requirements.
|
||||
check_library_exists(m pow "" m_FOUND)
|
||||
check_library_exists(m pow "" HAVE_LIBM)
|
||||
check_include_file("dirent.h" HAVE_DIRENT_H)
|
||||
check_symbol_exists(strsignal "string.h" HAVE_STRSIGNAL)
|
||||
check_symbol_exists(strcasecmp "strings.h" HAVE_DECL_STRCASECMP)
|
||||
|
@ -2,7 +2,7 @@
|
||||
#cmakedefine PROJECT_VERSION "@PROJECT_VERSION@"
|
||||
#cmakedefine PROJECT_STRING "@PROJECT_STRING@"
|
||||
#cmakedefine PROJECT_SHORTNAME "@PROJECT_SHORTNAME@"
|
||||
#cmakedefine m_FOUND
|
||||
#cmakedefine HAVE_LIBM
|
||||
#cmakedefine HAVE_DIRENT_H
|
||||
#cmakedefine HAVE_STRSIGNAL
|
||||
#cmakedefine01 HAVE_DECL_STRCASECMP
|
||||
|
@ -133,7 +133,7 @@ if(WIN32)
|
||||
endif()
|
||||
|
||||
# Some platforms require standard libraries to be linked against.
|
||||
if(m_FOUND)
|
||||
if(HAVE_LIBM)
|
||||
list(APPEND WOOF_LIBRARIES m)
|
||||
endif()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user