--- vhdlparser/CMakeLists.txt.orig	2022-12-19 11:34:59 UTC
+++ vhdlparser/CMakeLists.txt
@@ -35,8 +35,8 @@ include_directories(
 set_source_files_properties(${GENERATED_SRC}/VhdlParser_adj.cc PROPERTIES GENERATED 1)
 
 include_directories(
-	${PROJECT_SOURCE_DIR}/src
-	${PROJECT_SOURCE_DIR}/vhdlparser
+	BEFORE ${CMAKE_SOURCE_DIR}/src
+	${CMAKE_SOURCE_DIR}/vhdlparser
 	${GENERATED_SRC})
 add_library(vhdlparser STATIC
 CharStream.cc
