Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Disable OpenXR runtime on macOS and remove stub module #150

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.