3rdparty: Fix Everest platform detection for CMake

This commit is contained in:
Christoph M. Wintersteiger 2019-02-15 16:06:19 +00:00 committed by Janos Follath
parent cb31073e1c
commit f21aba4cb2

View file

@ -11,7 +11,7 @@ if(${result} EQUAL 0)
${CMAKE_CURRENT_SOURCE_DIR}/library/kremlib/FStar_UInt64_FStar_UInt32_FStar_UInt16_FStar_UInt8.c
)
if (${CMAKE_LIBRARY_ARCHITECTURE} STREQUAL "x86_64-linux-gnu")
if ("${CMAKE_LIBRARY_ARCHITECTURE}" STREQUAL "x86_64-linux-gnu")
list(APPEND everest_src ${CMAKE_CURRENT_SOURCE_DIR}/library/Hacl_Curve25519.c)
else()
list(APPEND everest_def -DKRML_VERIFIED_UINT128)