Skip to content

Commit

Permalink
Remove HAS_NAN shim
Browse files Browse the repository at this point in the history
  • Loading branch information
thetic committed Aug 24, 2022
1 parent 4765ad7 commit b475a1d
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions CMakeLists.txt
Expand Up @@ -141,14 +141,6 @@ if(HAVE_PTHREAD_MUTEX_LOCK)
)
endif(HAVE_PTHREAD_MUTEX_LOCK)

if(DEFINED HAS_NAN)
message(DEPRECATION
"The HAS_NAN cache variable has been deprecated. "
"CPPUTEST_HAS_NAN is assessed automatically, "
"but can be assigned manually."
)
set(CPPUTEST_HAS_NAN ${HAS_NAN})
endif()
if(NOT DEFINED CPPUTEST_HAS_NAN)
include(CheckCXXSymbolExists)
check_cxx_symbol_exists(NAN "math.h" CPPUTEST_HAS_NAN)
Expand Down

0 comments on commit b475a1d

Please sign in to comment.