diff --git a/cmake/CMakeLists.txt b/cmake/CMakeLists.txt
index 29f7b640d270b7c1681aa2ecaabcdcfe6ff6c6e8..4ff160f010834350c1294d51494e4a17f29fb5bd 100644
--- a/cmake/CMakeLists.txt
+++ b/cmake/CMakeLists.txt
@@ -233,7 +233,7 @@ if(PKG_KSPACE)
     add_definitions(-DFFT_KISS)
   endif()
   set(FFT_PACK "array" CACHE STRING "Optimization for FFT")
-  set_property(CACHE PACK_OPTIMIZATION PROPERTY STRINGS array pointer memcpy)
+  set_property(CACHE FFT_PACK PROPERTY STRINGS array pointer memcpy)
   if(NOT FFT_PACK STREQUAL "array")
     string(TOUPPER ${FFT_PACK} FFT_PACK_DEFINE)
     add_definitions(-DFFT_PACK_${FFT_PACK_DEFINE})