mirror of
https://github.com/pocoproject/poco.git
synced 2025-10-07 11:24:30 +02:00
CMake improve find third-party libraries (#2478)
* Improve find thirdparty cmake module. Cleanup cmake build system * Add additional settings for thirdparty paths and fix windows build * Improve cmake getting started doc * Fix postgresql build * Add additional path for odbc windows kits
This commit is contained in:

committed by
GitHub

parent
0dbb8979d0
commit
e624b3315c
@@ -15,7 +15,7 @@ set_target_properties(DataMySQL
|
||||
DEFINE_SYMBOL MySQL_EXPORTS
|
||||
)
|
||||
|
||||
target_link_libraries(DataMySQL PUBLIC Poco::Data ${MYSQL_LIB})
|
||||
target_link_libraries(DataMySQL PUBLIC Poco::Data MySQL::client)
|
||||
target_include_directories(DataMySQL
|
||||
PUBLIC
|
||||
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
|
||||
|
Reference in New Issue
Block a user