Skip to content

Commit

Permalink
cmake: changed include directories from private to public.
Browse files Browse the repository at this point in the history
closes: Dav1dde#144
  • Loading branch information
Dav1dde committed Apr 21, 2018
1 parent ec01ac5 commit 4ea9a63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ set_source_files_properties(${GLAD_SOURCES} PROPERTIES GENERATED TRUE)
add_library(glad ${GLAD_SOURCES})
add_dependencies(glad glad-generate-files)
target_include_directories(glad
PRIVATE
PUBLIC
$<BUILD_INTERFACE:${GLAD_INCLUDE_DIRS}>
INTERFACE
$<INSTALL_INTERFACE:include/glad>)
Expand Down

0 comments on commit 4ea9a63

Please sign in to comment.