fix(build): ODBC Makefile and Data libs CmakeLists #4453

This commit is contained in:
Alex Fabijanic 2024-02-13 20:30:36 +01:00
parent 0088334536
commit b82fca8337
6 changed files with 3 additions and 10 deletions

View File

@ -42,9 +42,9 @@ target_include_directories(Data
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/src>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/SQLParser/src>
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/SQLParser>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/SQLParser
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/SQLParser/src
)
POCO_INSTALL(Data)

View File

@ -26,8 +26,6 @@ target_include_directories(DataMySQL
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src
)
target_compile_definitions(DataMySQL PUBLIC THREADSAFE NO_TCL)

View File

@ -26,8 +26,6 @@ target_include_directories(DataODBC
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src
)
target_compile_definitions(DataODBC PUBLIC THREADSAFE)

View File

@ -37,6 +37,7 @@ endif
ifndef POCO_DATA_NO_SQL_PARSER
target_includes += $(POCO_BASE)/Data/SQLParser $(POCO_BASE)/Data/SQLParser/src
endif
target = testrunner
target_version = 1

View File

@ -26,8 +26,6 @@ target_include_directories(DataPostgreSQL
PUBLIC
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../Data/SQLParser
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../Data/SQLParser/src
)
POCO_INSTALL(DataPostgreSQL)

View File

@ -40,8 +40,6 @@ target_include_directories(DataSQLite
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_INSTALL_INCLUDEDIR}>
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser
PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src
)
if(POCO_UNBUNDLED)