programs: cmake: Fix relative path warnings
The path to source files were relative which triggered warnings when generating the build system. Move to absolute paths based on CMAKE_CURRENT_SOURCE_DIR. Signed-off-by: Ronald Cron <ronald.cron@arm.com> Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
c7f8aec493
commit
c9914ecd01
2 changed files with 3 additions and 3 deletions
|
@ -28,7 +28,7 @@ add_executable(zeroize zeroize.c)
|
|||
target_link_libraries(zeroize ${libs})
|
||||
|
||||
add_executable(query_compile_time_config query_compile_time_config.c)
|
||||
target_sources(query_compile_time_config PUBLIC ../ssl/query_config.c)
|
||||
target_sources(query_compile_time_config PUBLIC ${CMAKE_CURRENT_SOURCE_DIR}/../ssl/query_config.c)
|
||||
target_link_libraries(query_compile_time_config ${libs})
|
||||
|
||||
install(TARGETS selftest benchmark udp_proxy query_compile_time_config
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue