diff --git a/Data/CMakeLists.txt b/Data/CMakeLists.txt index 64249f75e..f1ff52645 100644 --- a/Data/CMakeLists.txt +++ b/Data/CMakeLists.txt @@ -42,9 +42,9 @@ target_include_directories(Data PUBLIC $ $ + $ + $ $ - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/SQLParser - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/SQLParser/src ) POCO_INSTALL(Data) diff --git a/Data/MySQL/CMakeLists.txt b/Data/MySQL/CMakeLists.txt index dc417632f..0ea8701a8 100644 --- a/Data/MySQL/CMakeLists.txt +++ b/Data/MySQL/CMakeLists.txt @@ -26,8 +26,6 @@ target_include_directories(DataMySQL PUBLIC $ $ - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src ) target_compile_definitions(DataMySQL PUBLIC THREADSAFE NO_TCL) diff --git a/Data/ODBC/CMakeLists.txt b/Data/ODBC/CMakeLists.txt index 38d5b2d2a..8b1028520 100644 --- a/Data/ODBC/CMakeLists.txt +++ b/Data/ODBC/CMakeLists.txt @@ -26,8 +26,6 @@ target_include_directories(DataODBC PUBLIC $ $ - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src ) target_compile_definitions(DataODBC PUBLIC THREADSAFE) diff --git a/Data/ODBC/testsuite/Makefile b/Data/ODBC/testsuite/Makefile index 2a311ad4b..d935264f9 100644 --- a/Data/ODBC/testsuite/Makefile +++ b/Data/ODBC/testsuite/Makefile @@ -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 diff --git a/Data/PostgreSQL/CMakeLists.txt b/Data/PostgreSQL/CMakeLists.txt index 721580886..fcd6a2c4d 100644 --- a/Data/PostgreSQL/CMakeLists.txt +++ b/Data/PostgreSQL/CMakeLists.txt @@ -26,8 +26,6 @@ target_include_directories(DataPostgreSQL PUBLIC $ $ - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../Data/SQLParser - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../Data/SQLParser/src ) POCO_INSTALL(DataPostgreSQL) diff --git a/Data/SQLite/CMakeLists.txt b/Data/SQLite/CMakeLists.txt index e6a008742..263acc1ad 100644 --- a/Data/SQLite/CMakeLists.txt +++ b/Data/SQLite/CMakeLists.txt @@ -40,8 +40,6 @@ target_include_directories(DataSQLite $ $ PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/src - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser - PRIVATE ${CMAKE_CURRENT_SOURCE_DIR}/../SQLParser/src ) if(POCO_UNBUNDLED)