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