From 05645bff159d28a8c564a7d3ad49d75bae682462 Mon Sep 17 00:00:00 2001 From: Aleksandar Fabijanic Date: Mon, 6 Nov 2023 11:00:07 +0100 Subject: [PATCH] fix(cmake): add missing Data define --- Data/CMakeLists.txt | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Data/CMakeLists.txt b/Data/CMakeLists.txt index 4da7d5979..5542b7e94 100644 --- a/Data/CMakeLists.txt +++ b/Data/CMakeLists.txt @@ -31,6 +31,9 @@ set_target_properties(Data DEFINE_SYMBOL Data_EXPORTS ) +if (NOT POCO_DATA_NO_SQL_PARSER) + target_compile_definitions(Data PUBLIC -DSQLParser_EXPORTS) +endif() target_link_libraries(Data PUBLIC Poco::Foundation) target_include_directories(Data PUBLIC