Skip to content

Commit 972cbd6

Browse files
authored
feat: export public include headers from CMake
1 parent 417c6e4 commit 972cbd6

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,11 @@ if(NOT OS_WINDOWS)
129129
)
130130
endif()
131131

132+
target_include_directories(${PROJECT_NAME}
133+
PUBLIC
134+
${CMAKE_CURRENT_SOURCE_DIR}/include
135+
)
136+
132137
install(DIRECTORY include/
133138
CONFIGURATIONS Release
134139
DESTINATION potto/include

0 commit comments

Comments
 (0)