Skip to content

Commit 7ae82ce

Browse files
committed
explicitly add include folders
1 parent 8ca974e commit 7ae82ce

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

CMakeLists.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,8 @@ add_executable(my_wc
2424
)
2525
target_include_directories(my_wc
2626
PRIVATE
27-
.
27+
${CMAKE_CURRENT_SOURCE_DIR}
28+
${FLEX_INCLUDE_DIRS}
2829
${CMAKE_CURRENT_BINARY_DIR})
2930
set_property(TARGET my_wc
3031
PROPERTY CXX_STANDARD 14)

0 commit comments

Comments
 (0)