mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-14 23:07:56 +02:00
fix: set public compiler flags on library targets
POCO_STATIC: has to be set when using poco as static library POCO_NO_ATUMATIC_LIBS: CMake config module will find the correct libraries. Don't need to guess in headers.
This commit is contained in:
@@ -27,6 +27,7 @@ target_include_directories( "${LIBNAME}"
|
||||
$<INSTALL_INTERFACE:include>
|
||||
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
|
||||
)
|
||||
target_compile_definitions("${LIBNAME}" PUBLIC ${LIB_MODE_DEFINITIONS})
|
||||
|
||||
POCO_INSTALL("${LIBNAME}")
|
||||
POCO_GENERATE_PACKAGE("${LIBNAME}")
|
||||
|
Reference in New Issue
Block a user