Better solution as we set NONE as default...WINDOWS build run great...
authorjulie <julielangou@users.noreply.github.com>
Tue, 11 Aug 2009 23:06:34 +0000 (23:06 +0000)
committerjulie <julielangou@users.noreply.github.com>
Tue, 11 Aug 2009 23:06:34 +0000 (23:06 +0000)
CMakeLists.txt

index 8134f02bfc547f1264720af3bb14510d2b22afee..c71473b0ccdab31bd1ecb94a03454e2838a1caa5 100644 (file)
@@ -7,7 +7,7 @@ include(CTest)
 enable_testing()
 set(CMAKE_MODULE_PATH ${LAPACK_SOURCE_DIR} ${CMAKE_MODULE_PATH})
 include(CheckTimeFunction)
-CHECK_TIME_FUNCTION(NONE TIME_FUNC)
+set(TIME_FUNC NONE ${TIME_FUNC})
 CHECK_TIME_FUNCTION(INT_CPU_TIME TIME_FUNC)
 CHECK_TIME_FUNCTION(EXT_ETIME TIME_FUNC)
 CHECK_TIME_FUNCTION(EXT_ETIME_ TIME_FUNC)