summaryrefslogtreecommitdiff
path: root/cmake/modules/FindLEX.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/modules/FindLEX.cmake')
-rw-r--r--cmake/modules/FindLEX.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/modules/FindLEX.cmake b/cmake/modules/FindLEX.cmake
index b38411f7dd..ccb0d8dddc 100644
--- a/cmake/modules/FindLEX.cmake
+++ b/cmake/modules/FindLEX.cmake
@@ -43,6 +43,7 @@ MACRO(ADD_LEX_FILES _sources )
DEPENDS ${_in}
)
SET(${_sources} ${${_sources}} ${_outc} )
+ INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR})
ENDFOREACH (_current_FILE)
ENDMACRO(ADD_LEX_FILES)