File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change 291
291
cp -r $top_dir /contrib/$install_library_path /$arch /include/z* .h $archive_name /include/
292
292
fi
293
293
294
+ if [ $lib = " glfw" ]; then
295
+ cp -r $top_dir /contrib/$install_library_path /$arch /include/GLFW $archive_name /include
296
+ fi
297
+
294
298
# TODO: add more header files decides here
295
299
296
300
echo " cleaning up"
Original file line number Diff line number Diff line change @@ -19,6 +19,6 @@ glfw: glfw-$(GLFW_VERSION).tar.gz .sum-glfw
19
19
$(MOVE )
20
20
21
21
.glfw : glfw
22
- cd $< && cmake . -DCMAKE_BUILD_TYPE=Release -DGLFW_BUILD_DOCS=0 -DCMAKE_INSTALL_PREFIX=$(PREFIX )
22
+ cd $< && $( HOSTVARS ) CFLAGS= " $( CFLAGS ) $( EX_ECFLAGS ) " cmake . -DGLFW_BUILD_DOCS=0 -DCMAKE_INSTALL_PREFIX=$(PREFIX )
23
23
cd $< && $(MAKE ) VERBOSE=1 install
24
24
touch $@
You can’t perform that action at this time.
0 commit comments