File tree Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Expand file tree Collapse file tree 5 files changed +7
-13
lines changed Original file line number Diff line number Diff line change 121121[submodule "externals/wamr/zydis "]
122122 path = externals/wamr/zydis
123123 url = https://github.com/zyantific/zydis.git
124- [submodule "externals/mgl/mgl "]
125- path = externals/mgl/mgl
126- url = https://github.com/ucpu/mgl.git
Original file line number Diff line number Diff line change 1+ /mgl
Original file line number Diff line number Diff line change @@ -7,16 +7,9 @@ if(NOT APPLE)
77 return ()
88endif ()
99
10- add_subdirectory (mgl)
11-
12- add_library (glfw-imp STATIC IMPORTED )
13- set_target_properties (glfw-imp PROPERTIES IMPORTED_LOCATION "${CMAKE_CURRENT_SOURCE_DIR} /mgl/external/glfw/build/src/libglfw3.a" )
10+ execute_process (COMMAND "bash" "clone.sh" WORKING_DIRECTORY "${CMAKE_CURRENT_LIST_DIR} " COMMAND_ECHO STDOUT)
1411
15- add_library (glfw INTERFACE )
16- target_link_libraries (glfw INTERFACE glfw-imp mgl)
17- target_include_directories (glfw INTERFACE "mgl/external/glfw/include" )
18-
19- add_dependencies (glfw mgl)
12+ add_subdirectory (mgl)
2013
2114add_library (glm INTERFACE )
2215target_include_directories (glm INTERFACE "mgl/MGL/include" )
Original file line number Diff line number Diff line change 1+
2+ if [ ! -d " mgl" ]; then
3+ git clone --recursive https://github.com/ucpu/mgl.git
4+ fi
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments