Skip to content

Commit 86b6aff

Browse files
authored
[Fix] contrib.glfw3 overrides built-in GLFW (in cache) (#21586)
1 parent efb2ffc commit 86b6aff

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/ports/contrib/glfw3.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,9 @@ def get(ports, settings, shared):
4545
def create(final):
4646
root_path = os.path.join(ports.get_dir(), 'contrib.glfw3')
4747
source_path = os.path.join(root_path, 'src', 'cpp')
48-
source_include_paths = [os.path.join(root_path, 'external', 'GLFW'), os.path.join(root_path, 'include', 'GLFW')]
48+
source_include_paths = [os.path.join(root_path, 'external'), os.path.join(root_path, 'include')]
4949
for source_include_path in source_include_paths:
50-
ports.install_headers(source_include_path, target='GLFW')
50+
ports.install_headers(os.path.join(source_include_path, 'GLFW'), target=os.path.join('contrib.glfw3', 'GLFW'))
5151

5252
flags = []
5353

0 commit comments

Comments
 (0)