From d17830ee5e9d44e8874880e33b038170ad8700d0 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Tue, 17 Sep 2002 09:17:15 -0400 Subject: [PATCH] slight change in signature for TryCompile --- Modules/TestForANSIStreamHeaders.cmake | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Modules/TestForANSIStreamHeaders.cmake b/Modules/TestForANSIStreamHeaders.cmake index 25a276817..10ecb01e8 100644 --- a/Modules/TestForANSIStreamHeaders.cmake +++ b/Modules/TestForANSIStreamHeaders.cmake @@ -4,7 +4,8 @@ # CMAKE_NO_ANSI_STREAM_HEADERS - defined accoreding to the results # -TRY_COMPILE(CMAKE_ANSI_STREAM_HEADERS ${CMAKE_ROOT}/Modules/TestForANSIStreamHeaders.cxx ${PROJECT_BINARY_DIR}) +TRY_COMPILE(CMAKE_ANSI_STREAM_HEADERS ${PROJECT_BINARY_DIR} + ${CMAKE_ROOT}/Modules/TestForANSIStreamHeaders.cxx) IF (CMAKE_ANSI_STREAM_HEADERS) SET (CMAKE_NO_ANSI_STREAM_HEADERS 0 CACHE INTERNAL "Does the compiler support headers like iostream.")