Skip to content

Commit

Permalink
CMake: Install headers
Browse files Browse the repository at this point in the history
  • Loading branch information
Iswenzz committed Sep 20, 2023
1 parent 568500b commit e28db8c
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
7 changes: 0 additions & 7 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -48,13 +48,6 @@ if(BUILD_EXAMPLE_PLUGINS)
endif()

# Install
install(FILES
${OFX_HEADER_FILES}
${OFX_SUPPORT_HEADER_FILES}
${OFX_PLUGINS_HEADER_FILES}
${OFX_HOSTSUPPORT_HEADER_FILES}
DESTINATION "include")

install(TARGETS OfxSupport OfxHost
EXPORT OpenFXTargets
RUNTIME DESTINATION bin
Expand Down
5 changes: 5 additions & 0 deletions HostSupport/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ target_include_directories(OfxHost INTERFACE
$<BUILD_INTERFACE:${OFX_HEADER_DIR}>
$<BUILD_INTERFACE:${OFX_HOSTSUPPORT_HEADER_DIR}>
$<INSTALL_INTERFACE:include>)

install(FILES
${OFX_HEADER_FILES}
${OFX_HOSTSUPPORT_HEADER_FILES}
DESTINATION include)
5 changes: 5 additions & 0 deletions Support/Library/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,8 @@ target_include_directories(OfxSupport INTERFACE
$<BUILD_INTERFACE:${OFX_HEADER_DIR}>
$<BUILD_INTERFACE:${OFX_SUPPORT_HEADER_DIR}>
$<INSTALL_INTERFACE:include>)

install(FILES
${OFX_HEADER_FILES}
${OFX_SUPPORT_HEADER_FILES}
DESTINATION include)

0 comments on commit e28db8c

Please sign in to comment.