diff options
author | Brad King <brad.king@kitware.com> | 2021-02-01 18:31:02 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-02-03 16:35:31 (GMT) |
commit | cdcfe3eb99f2471740dccdbbef5c47414c15e661 (patch) | |
tree | d93e0ee9e5d2484ed05be931ad441980197ee629 /Source/CMakeLists.txt | |
parent | b6071c93f556a2ee1ad30eae0f3a1dbbb5b5a1d7 (diff) | |
download | CMake-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.txt | 4 |
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() |