|
@@ -50,7 +50,9 @@ endmacro()
|
|
|
|
|
|
|
|
|
|
|
|
|
if (WITH_ENCRYPTION)
|
|
if (WITH_ENCRYPTION)
|
|
|
-add_definitions( -DWITH_ENCRYPTION=${WITH_ENCRYPTION})
|
|
|
|
|
|
|
+ if (NOT (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64"))
|
|
|
|
|
+ add_definitions( -DWITH_ENCRYPTION=${WITH_ENCRYPTION})
|
|
|
|
|
+ endif()
|
|
|
endif()
|
|
endif()
|
|
|
|
|
|
|
|
if (WITH_MKL)
|
|
if (WITH_MKL)
|
|
@@ -268,9 +270,11 @@ endif()
|
|
|
|
|
|
|
|
if(WITH_ENCRYPTION)
|
|
if(WITH_ENCRYPTION)
|
|
|
if(NOT WIN32)
|
|
if(NOT WIN32)
|
|
|
|
|
+ if (NOT (${CMAKE_SYSTEM_PROCESSOR} STREQUAL "aarch64"))
|
|
|
include_directories("${ENCRYPTION_DIR}/include")
|
|
include_directories("${ENCRYPTION_DIR}/include")
|
|
|
link_directories("${ENCRYPTION_DIR}/lib")
|
|
link_directories("${ENCRYPTION_DIR}/lib")
|
|
|
set(DEPS ${DEPS} ${ENCRYPTION_DIR}/lib/libpmodel-decrypt${CMAKE_SHARED_LIBRARY_SUFFIX})
|
|
set(DEPS ${DEPS} ${ENCRYPTION_DIR}/lib/libpmodel-decrypt${CMAKE_SHARED_LIBRARY_SUFFIX})
|
|
|
|
|
+ endif()
|
|
|
else()
|
|
else()
|
|
|
include_directories("${ENCRYPTION_DIR}/include")
|
|
include_directories("${ENCRYPTION_DIR}/include")
|
|
|
link_directories("${ENCRYPTION_DIR}/lib")
|
|
link_directories("${ENCRYPTION_DIR}/lib")
|