Skip to content

Commit

Permalink
Fixup version
Browse files Browse the repository at this point in the history
  • Loading branch information
mwestphal committed Mar 13, 2024
1 parent 6c67d75 commit a44f9cd
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion vtkext/public/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,19 @@ vtk_module_scan(
WANT_BY_DEFAULT ON
ENABLE_TESTS ${BUILD_TESTING})

set(f3d_vtkext_headers_exclude "")
if(VTK_VERSION VERSION_GREATER_EQUAL 9.1.20240312)
set(f3d_vtkext_headers_exclude "HEADERS_EXCLUDE_FROM_ALL;ON")
endif()

# The headers and all "dev" part are installed as part of the plugin SDK
# The library itself is installed as part of the library
vtk_module_build(
MODULES ${modules}
INSTALL_EXPORT "f3d_vtkext"
INSTALL_HEADERS ON
HEADERS_COMPONENT plugin_sdk
# HEADERS_EXCLUDE_FROM_ALL ON TODO
${f3d_vtkext_headers_exclude}
HEADERS_DESTINATION "include/f3d"
TARGETS_COMPONENT library
PACKAGE "f3d_vtkext")
Expand Down

0 comments on commit a44f9cd

Please sign in to comment.