From 432e13c3b1b4c8f7220d44e4a7fd47c5e149da7c Mon Sep 17 00:00:00 2001 From: Patrick LeBlanc Date: Wed, 22 Apr 2020 11:14:58 -0400 Subject: [PATCH] MCOL-3941 part 2. Added the location of the flex/bison output to the include list. --- dbcon/ddlpackage/CMakeLists.txt | 1 + dbcon/dmlpackage/CMakeLists.txt | 1 + 2 files changed, 2 insertions(+) diff --git a/dbcon/ddlpackage/CMakeLists.txt b/dbcon/ddlpackage/CMakeLists.txt index 7a5d2198b..c18bf6ab2 100644 --- a/dbcon/ddlpackage/CMakeLists.txt +++ b/dbcon/ddlpackage/CMakeLists.txt @@ -11,6 +11,7 @@ set_source_files_properties(ddl-scan.cpp PROPERTIES COMPILE_FLAGS -Wno-sign-comp ########### next target ############### +include_directories(${CMAKE_CURRENT_BINARY_DIR}) # to pick up flex/bison output ADD_LIBRARY(ddlpackage SHARED serialize.cpp ddl-scan.cpp diff --git a/dbcon/dmlpackage/CMakeLists.txt b/dbcon/dmlpackage/CMakeLists.txt index 66e43621f..8982de1a9 100644 --- a/dbcon/dmlpackage/CMakeLists.txt +++ b/dbcon/dmlpackage/CMakeLists.txt @@ -12,6 +12,7 @@ set_source_files_properties(dml-scan.cpp PROPERTIES COMPILE_FLAGS -Wno-sign-comp ########### next target ############### +include_directories(${CMAKE_CURRENT_BINARY_DIR}) # to pick up flex/bison output ADD_LIBRARY(dmlpackage SHARED dml-scan.cpp dml-gram.cpp