Skip to content
Snippets Groups Projects
Commit 8ddcca72 authored by Linus Sherrill's avatar Linus Sherrill
Browse files

Make installing header files optional.

parent 8a6b192c
No related branches found
No related tags found
No related merge requests found
...@@ -226,6 +226,11 @@ install( TARGETS darknet_lib darknet ...@@ -226,6 +226,11 @@ install( TARGETS darknet_lib darknet
COMPONENT runtime COMPONENT runtime
) )
install( FILES ${headers}
DESTINATION "include/darknet" OPTION( INSTALL_HEADER_FILES "Install header files needed for development" FALSE )
)
if (INSTALL_HEADER_FILES)
install( FILES ${headers}
DESTINATION "include/darknet"
)
endif()
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment