mirror of
https://gitee.com/Lyon1998/pikapython.git
synced 2025-01-29 17:22:56 +08:00
link mbedcrypto
This commit is contained in:
parent
cd6e35fb01
commit
b595d05e22
@ -1,11 +1,11 @@
|
||||
#设置 BINARY 为项目名IndexProject
|
||||
set(BINARY ${CMAKE_PROJECT_NAME})
|
||||
|
||||
set(CMAKE_C_FLAGS "-Wno-error=deprecated-declarations -Wno-deprecated-declarations")
|
||||
file(GLOB_RECURSE SOURCES LIST_DIRECTORIES true *.h *.c)
|
||||
set(SOURCES ${SOURCES})
|
||||
|
||||
# support <math.h>
|
||||
link_libraries(m lua5.3 pthread)
|
||||
link_libraries(m lua5.3 pthread mbedcrypto)
|
||||
|
||||
add_library(${BINARY}-core
|
||||
STATIC
|
||||
|
Loading…
x
Reference in New Issue
Block a user