Skip to content

Commit

Permalink
fix(build): ODBC Makefile and Data libs CmakeLists #4453
Browse files Browse the repository at this point in the history
  • Loading branch information
aleks-f committed Feb 13, 2024
1 parent 9e2a50f commit efdae87
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 10 deletions.
4 changes: 2 additions & 2 deletions Data/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions Data/MySQL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
2 changes: 0 additions & 2 deletions Data/ODBC/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down
1 change: 1 addition & 0 deletions Data/ODBC/testsuite/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 0 additions & 2 deletions Data/PostgreSQL/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 0 additions & 2 deletions Data/SQLite/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit efdae87

Please sign in to comment.