diff options
Diffstat (limited to 'Modules/TestForANSIStreamHeaders.cmake')
-rw-r--r-- | Modules/TestForANSIStreamHeaders.cmake | 3 |
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.") |