Remove installing glfw3 headers

This commit is contained in:
Vidur
2025-07-01 16:25:07 -05:00
parent 35fdc279fe
commit 641d95313a
2 changed files with 1 additions and 36 deletions
-19
View File
@@ -103,22 +103,3 @@ if(NOT SIMULATE_STANDALONE)
target_link_options(glfw PRIVATE ${MUJOCO_MACOS_LINK_OPTIONS})
endif()
message(STATUS "lolwaGLFW3 Source Directory: ${glfw3_SOURCE_DIR}")
# Install GLFW headers if not using system GLFW
if(NOT MUJOCO_SIMULATE_USE_SYSTEM_GLFW)
FetchContent_GetProperties(glfw3)
if(NOT glfw3_POPULATED)
message(FATAL_ERROR "GLFW3 not populated")
endif()
install(
DIRECTORY ${glfw3_SOURCE_DIR}/include/GLFW
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}
COMPONENT simulate
FILES_MATCHING PATTERN "*.h"
PATTERN "CMake*" EXCLUDE
PATTERN ".git*" EXCLUDE
)
endif()