mirror of
https://github.com/guanzhi/GmSSL.git
synced 2026-05-07 00:46:17 +08:00
Update CMakeLists.txt
This commit is contained in:
@@ -333,6 +333,7 @@ endif()
|
||||
|
||||
if (ENABLE_SM4_CL)
|
||||
message(STATUS "ENABLE_SM4_CL is ON")
|
||||
add_definitions(-DENABLE_SM4_CL)
|
||||
if (CMAKE_SYSTEM_NAME STREQUAL "Darwin")
|
||||
add_definitions(-DMACOS) # to include <OpenCL/OpenCL.h>
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user