summaryrefslogtreecommitdiffstats
path: root/Modules/CMakeBackwardCompatibilityCXX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/CMakeBackwardCompatibilityCXX.cmake')
-rw-r--r--Modules/CMakeBackwardCompatibilityCXX.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/CMakeBackwardCompatibilityCXX.cmake b/Modules/CMakeBackwardCompatibilityCXX.cmake
index ccc2e33..0cbe148 100644
--- a/Modules/CMakeBackwardCompatibilityCXX.cmake
+++ b/Modules/CMakeBackwardCompatibilityCXX.cmake
@@ -2,7 +2,7 @@
# check for some ANSI flags in the CXX compiler if it is not gnu
IF(NOT CMAKE_COMPILER_IS_GNUCXX)
- INCLUDE(${CMAKE_ROOT}/Modules/TestCXXAcceptFlag.cmake)
+ INCLUDE(${CMAKE_ROOT}/Modules/TestCXXAcceptsFlag.cmake)
SET(CMAKE_TRY_ANSI_CXX_FLAGS "")
IF(CMAKE_SYSTEM MATCHES "IRIX.*")
SET(CMAKE_TRY_ANSI_CXX_FLAGS "-LANG:std")