Skip to content

Commit 0d80c01

Browse files
mardyWinterMute
authored andcommitted
build: add src/ directory to library include directories
In this way the examples (and any other binary we should add to the project) will automatically gain an include path to the src/directoy when building against opengx. This will allow them to find the "opengx.h" file.
1 parent 1d26433 commit 0d80c01

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Diff for: CMakeLists.txt

+1
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,7 @@ set_target_properties(${TARGET} PROPERTIES
7373
)
7474

7575
target_include_directories(${TARGET} PUBLIC
76+
src/
7677
${CMAKE_CURRENT_SOURCE_DIR}/include
7778
)
7879

0 commit comments

Comments
 (0)