Commit 9ee0a84 1 parent 4d855e9 commit 9ee0a84 Copy full SHA for 9ee0a84
File tree 1 file changed +3
-4
lines changed
1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -43,11 +43,10 @@ if(NOT EXCLUDE_MPQ_SUPPORT)
43
43
endif ()
44
44
45
45
#=================== STB ===================
46
- file (MAKE_DIRECTORY "${CMAKE_BINARY_DIR} /stb" )
47
- file (DOWNLOAD "https://github.com/nothings/stb/raw/0bc88af4de5fb022db643c2d8e549a0927749354/stb_image.h" "${CMAKE_BINARY_DIR} /_deps/stb/stb_image.h" )
48
- file (WRITE "${CMAKE_BINARY_DIR} /_deps/stb/stb_impl.c" "#define STB_IMAGE_IMPLEMENTATION\n #include \" stb_image.h\" " )
49
-
50
46
set (STB_DIR ${CMAKE_BINARY_DIR} /_deps/stb)
47
+ file (DOWNLOAD "https://github.com/nothings/stb/raw/0bc88af4de5fb022db643c2d8e549a0927749354/stb_image.h" "${STB_DIR} /stb_image.h" )
48
+ file (WRITE "${STB_DIR} /stb_impl.c" "#define STB_IMAGE_IMPLEMENTATION\n #include \" stb_image.h\" " )
49
+
51
50
add_library (stb STATIC )
52
51
53
52
target_sources (stb PRIVATE
You can’t perform that action at this time.
0 commit comments