summaryrefslogtreecommitdiffstats
path: root/Modules/TestForANSIStreamHeaders.cmake
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-17 13:17:15 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-17 13:17:15 (GMT)
commitd17830ee5e9d44e8874880e33b038170ad8700d0 (patch)
treeedbde9ff59d37d8b584c1d3b358f9e81984082cb /Modules/TestForANSIStreamHeaders.cmake
parent83f61619a35c85d38655eded8cb35d509e179bef (diff)
downloadCMake-d17830ee5e9d44e8874880e33b038170ad8700d0.zip
CMake-d17830ee5e9d44e8874880e33b038170ad8700d0.tar.gz
CMake-d17830ee5e9d44e8874880e33b038170ad8700d0.tar.bz2
slight change in signature for TryCompile
Diffstat (limited to 'Modules/TestForANSIStreamHeaders.cmake')
-rw-r--r--Modules/TestForANSIStreamHeaders.cmake3
1 files changed, 2 insertions, 1 deletions
diff --git a/Modules/TestForANSIStreamHeaders.cmake b/Modules/TestForANSIStreamHeaders.cmake
index 25a2768..10ecb01 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.")