change lib config.
This commit is contained in:
parent
3676f7defd
commit
ddffa49a42
@ -8,13 +8,19 @@ add_library(Encrypt
|
||||
|
||||
target_include_directories(Encrypt
|
||||
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}
|
||||
PRIVATE ${MBEDTLS_INCLUDE_DIR}
|
||||
PUBLIC ${MBEDTLS_INCLUDE_DIR}
|
||||
PRIVATE ${Boost_INCLUDE_DIRS}
|
||||
)
|
||||
|
||||
# target_link_libraries(Encrypt
|
||||
# PUBLIC mbedtls-${MBEDTLS_VERSION}
|
||||
# )
|
||||
target_link_directories(Encrypt
|
||||
PUBLIC ${MBEDTLS_LIBRARY_DIRS}
|
||||
)
|
||||
|
||||
target_link_libraries(Encrypt
|
||||
PRIVATE mbedtls
|
||||
PRIVATE mbedcrypto
|
||||
|
||||
)
|
||||
|
||||
if(UNIX)
|
||||
target_compile_options(Encrypt
|
||||
|
Loading…
Reference in New Issue
Block a user