diff options
Diffstat (limited to 'cmake/tuklib_physmem.cmake')
-rw-r--r-- | cmake/tuklib_physmem.cmake | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmake/tuklib_physmem.cmake b/cmake/tuklib_physmem.cmake index ea5bcc46..f5ed8889 100644 --- a/cmake/tuklib_physmem.cmake +++ b/cmake/tuklib_physmem.cmake @@ -130,11 +130,11 @@ function(tuklib_physmem_internal_check) endfunction() function(tuklib_physmem TARGET_OR_ALL) - if(NOT DEFINED CACHE{TUKLIB_PHYSMEM_FOUND}) + if(NOT DEFINED TUKLIB_PHYSMEM_FOUND) message(STATUS "Checking how to detect the amount of physical memory") tuklib_physmem_internal_check() - if(DEFINED CACHE{TUKLIB_PHYSMEM_DEFINITIONS}) + if(DEFINED TUKLIB_PHYSMEM_DEFINITIONS) set(TUKLIB_PHYSMEM_FOUND 1 CACHE INTERNAL "") else() set(TUKLIB_PHYSMEM_FOUND 0 CACHE INTERNAL "") |