From b0e196ad803ccebc27f911f996991ac4ded0f3e9 Mon Sep 17 00:00:00 2001 From: Peter Steinbach Date: Mon, 30 Apr 2018 14:46:06 +0200 Subject: [PATCH] fixed cmake syntax error --- cmake/FindCPU_FEATURES.cmake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmake/FindCPU_FEATURES.cmake b/cmake/FindCPU_FEATURES.cmake index 95b0535..92b6445 100644 --- a/cmake/FindCPU_FEATURES.cmake +++ b/cmake/FindCPU_FEATURES.cmake @@ -240,7 +240,7 @@ ELSEIF(CMAKE_SYSTEM_NAME MATCHES "Windows") wmic_get("NumberOfCores" CPU_NPHYS_CORES) #dirty hack that I need to validate with other machines in Win7 - if(NOT "${L2_CACHE_SIZE}" STR_EQUAL "") + if(NOT "${L2_CACHE_SIZE}" STREQUAL "") if(${CPU_NPHYS_CORES} GREATER 1) math(EXPR L2_CACHE_SIZE "${L2_CACHE_SIZE}/${CPU_NPHYS_CORES}") endif() -- GitLab