summaryrefslogtreecommitdiffstats
path: root/Source/CMakeLists.txt
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-02-01 18:31:02 (GMT)
committerBrad King <brad.king@kitware.com>2021-02-03 16:35:31 (GMT)
commitcdcfe3eb99f2471740dccdbbef5c47414c15e661 (patch)
treed93e0ee9e5d2484ed05be931ad441980197ee629 /Source/CMakeLists.txt
parentb6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7 (diff)
downloadCMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.zip
CMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.tar.gz
CMake-cdcfe3eb99f2471740dccdbbef5c47414c15e661.tar.bz2
Rename CMAKE_USE_MACH_PARSER to CMake_USE_MACH_PARSER
We use the `CMake_` prefix for options affecting CMake itself.
Diffstat (limited to 'Source/CMakeLists.txt')
-rw-r--r--Source/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index c2e1ed3..26aaa79 100644
--- a/Source/CMakeLists.txt
+++ b/Source/CMakeLists.txt
@@ -54,7 +54,7 @@ if(NOT CMake_DEFAULT_RECURSION_LIMIT)
endif()
if(APPLE)
- set(CMAKE_USE_MACH_PARSER 1)
+ set(CMake_USE_MACH_PARSER 1)
endif()
set(EXECUTABLE_OUTPUT_PATH ${CMake_BIN_DIR})
@@ -113,7 +113,7 @@ if(CMake_USE_ELF_PARSER)
endif()
# Check if we can build the Mach-O parser.
-if(CMAKE_USE_MACH_PARSER)
+if(CMake_USE_MACH_PARSER)
set(MACH_SRCS cmMachO.h cmMachO.cxx)
endif()