cmake: don't reset check state after pushing state
This commit is contained in:
1 parent
67f31a19a8
commit
cd13600944
4 files changed
+12
-11
No files matched your search
@@ -2,7 +2,7 @@ include(CheckCSourceCompiles)
|
||||
include(CMakePushCheckState)
|
||||
|
||||
function(_internal_check_cpu_architecture macro_check NAME VARIABLE)
|
||||
cmake_push_check_state(RESET)
|
||||
cmake_push_check_state()
|
||||
string(TOUPPER "${NAME}" UPPER_NAME)
|
||||
set(CACHE_VARIABLE "CHECK_CPU_ARCHITECTURE_${UPPER_NAME}")
|
||||
set(test_src "
|
||||
|
||||
Reference in new issue
Block a user