CMake: Include the library directory for the sake of 3rdparty
"Include the library directory for the sake of 3rdparty" did the job for Make and Visual Studio. This commit does the job for CMake. Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
3ca8a9285e
commit
dedff7a57d
1 changed files with 1 additions and 0 deletions
|
@ -195,6 +195,7 @@ foreach(target IN LISTS target_libraries)
|
||||||
target_include_directories(${target}
|
target_include_directories(${target}
|
||||||
PUBLIC ${MBEDTLS_DIR}/include/
|
PUBLIC ${MBEDTLS_DIR}/include/
|
||||||
PUBLIC ${thirdparty_inc_public}
|
PUBLIC ${thirdparty_inc_public}
|
||||||
|
PRIVATE ${MBEDTLS_DIR}/library/
|
||||||
PRIVATE ${thirdparty_inc})
|
PRIVATE ${thirdparty_inc})
|
||||||
target_compile_definitions(${target}
|
target_compile_definitions(${target}
|
||||||
PRIVATE ${thirdparty_def})
|
PRIVATE ${thirdparty_def})
|
||||||
|
|
Loading…
Reference in a new issue