From 7019b3efac4381ecc780647dc930948f3ae83709 Mon Sep 17 00:00:00 2001 From: Nicolas Bock Date: Thu, 13 Apr 2023 02:47:35 +0000 Subject: [PATCH] Fix CMake warning Signed-off-by: Nicolas Bock --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index a7546819..d13450c5 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -90,7 +90,7 @@ if(CMAKE_Fortran_COMPILER_ID STREQUAL "Cray") set(EXTRA_CFLAGS "-DCRAY_SDK ${EXTRA_CFLAGS}") endif() -set(MALLOC_ALIGNMENT 64 CACHE INT "Alignment boundary for memory allocations") +set(MALLOC_ALIGNMENT 64 CACHE STRING "Alignment boundary for memory allocations") add_definitions(-DMALLOC_ALIGNMENT=${MALLOC_ALIGNMENT}) option(DONT_TOUCH_MY_FLAGS "Don't touch compiler flags" OFF)