Skip to content

Fix install executable flags on Unix based systems - #1609

Merged
bghgary merged 1 commit into
BabylonJS:masterfrom
bghgary:install-fix
Feb 19, 2026
Merged

bghgary merged 1 commit into
BabylonJS:masterfrom
bghgary:install-fix

Conversation

@bghgary

@bghgary bghgary commented Feb 19, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings February 19, 2026 16:34

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a bug in the CMake installation script where executables were not being installed with the correct permissions on Unix-based systems. The issue was that install(FILES ...) was being used instead of install(PROGRAMS ...) in the install_bin function, which meant that installed executables like ShaderTool lacked execute permissions after installation.

Changes:

  • Changed install(FILES ...) to install(PROGRAMS ...) in the install_bin function to ensure executables are installed with execute permissions on Unix systems

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@SergioRZMasson SergioRZMasson left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bghgary
bghgary enabled auto-merge (squash) February 19, 2026 16:49
@bghgary
bghgary merged commit b5bf93b into BabylonJS:master Feb 19, 2026
32 checks passed
bkaradzic-microsoft pushed a commit to bkaradzic-microsoft/BabylonNative that referenced this pull request Jul 10, 2026
…at, GPU-particle, remote-asset tests)

Replace stale/generic exclude reasons with the verbatim runtime error each
test actually hits on Babylon Native, re-verified on a fresh master build:

- Texture-format tests (BabylonJS#1609 family): RuntimeError: Unsupported texture
  format or type ... instead of a pixel-diff label.
- GPU-particle tests: the verbatim TypeError/ReferenceError thrown before
  rendering (ARRAY_BUFFER, 'Image'), and reuse of the existing
  'Cubemap load not implemented on Babylon Native' convention.
- Remote-asset / misc tests: several were mislabeled as generic pixel-diff
  or crash; use the actual thrown error (Unable to load ... Unknown error
  opening URL for curl-reachable URLs, createObjectURL missing, OBJ
  'Out of stack space', cubemap load gap), or the measured pixel-diff.

Reason-string wording only; no test is enabled or disabled.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants