From 8f81c74806dbb4a4b5c61a200290b5c19c83dfe7 Mon Sep 17 00:00:00 2001 From: Allen Byrne Date: Wed, 20 Apr 2011 13:12:49 -0500 Subject: [svn-r20570] Correct Windows only set command --- config/cmake/ConfigureChecks.cmake | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/cmake/ConfigureChecks.cmake b/config/cmake/ConfigureChecks.cmake index ec16ce6..a7f9228 100644 --- a/config/cmake/ConfigureChecks.cmake +++ b/config/cmake/ConfigureChecks.cmake @@ -374,10 +374,7 @@ ENDIF (NOT H5_SIZEOF_OFF64_T) # For other tests to use the same libraries -SET (CMAKE_REQUIRED_DEFINITIONS ${CMAKE_REQUIRED_DEFINITIONS} "-DWIN32 -D_WINDOWS") -# SET (CMAKE_REQUIRED_LIBRARIES ${LINK_LIBS}) -# SET (CMAKE_REQUIRED_INCLUDES ${USE_INCLUDES}) -# CHECK_FUNCTION_EXISTS (initonceexecuteonce H5_HAVE_IOEO) +SET (CMAKE_REQUIRED_LIBRARIES ${LINK_LIBS}) #----------------------------------------------------------------------------- # Check for some functions that are used -- cgit v0.12