Skip to content

Commit

Permalink
ENH: Remove VirtualRealityStub and re-enable support for building on …
Browse files Browse the repository at this point in the history
…macOS
  • Loading branch information
jcfr committed Jan 12, 2024
1 parent b4d8dca commit 462ddda
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 73 deletions.
18 changes: 0 additions & 18 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,24 +87,6 @@ if(${EXTENSION_NAME}_SUPERBUILD)
return()
endif()

#-----------------------------------------------------------------------------
# Virtual Reality is not supported on macOS, create an extension that contains a stub module
# that just displays the message that Virtual Reality is not supported.
# This avoids having a build error on the extension build dashboard.
if(APPLE)
add_subdirectory(VirtualRealityStub)

include(${Slicer_EXTENSION_GENERATE_CONFIG})

set(EXTENSION_CPACK_INSTALL_CMAKE_PROJECTS)
set(${EXTENSION_NAME}_CPACK_INSTALL_CMAKE_PROJECTS "${EXTENSION_CPACK_INSTALL_CMAKE_PROJECTS}" CACHE STRING "List of external projects to install" FORCE)

list(APPEND CPACK_INSTALL_CMAKE_PROJECTS "${CMAKE_BINARY_DIR};${EXTENSION_NAME};ALL;/")
list(APPEND CPACK_INSTALL_CMAKE_PROJECTS "${${EXTENSION_NAME}_CPACK_INSTALL_CMAKE_PROJECTS}")
include(${Slicer_EXTENSION_CPACK})
return()
endif()

#-----------------------------------------------------------------------------
# Extension modules
add_subdirectory(VirtualReality)
Expand Down
18 changes: 0 additions & 18 deletions VirtualRealityStub/CMakeLists.txt

This file was deleted.

Binary file not shown.
37 changes: 0 additions & 37 deletions VirtualRealityStub/VirtualRealityStub.py

This file was deleted.

0 comments on commit 462ddda

Please sign in to comment.