fix(Foundation): Correct target_link_libraries to link properly with static build also

This commit is contained in:
Matej Kenda
2025-10-09 10:31:47 +02:00
parent 6bd0221d63
commit 4540bbf66e

View File

@@ -65,7 +65,7 @@ else()
target_compile_definitions(Foundation PUBLIC UTF8PROC_STATIC)
endif()
target_link_libraries(Foundation PRIVATE V8::DoubleConversion)
target_link_libraries(Foundation PRIVATE "$<BUILD_LOCAL_INTERFACE:V8::DoubleConversion>")
add_library(Poco::Foundation ALIAS Foundation)
set_target_properties(Foundation