mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
17 lines
774 B
Diff
17 lines
774 B
Diff
|
Submodule libultraship contains modified content
|
||
|
diff --git a/libultraship/cmake/dependencies/common.cmake b/libultraship/cmake/dependencies/common.cmake
|
||
|
index 596158c..c62d7b2 100644
|
||
|
--- a/libultraship/cmake/dependencies/common.cmake
|
||
|
+++ b/libultraship/cmake/dependencies/common.cmake
|
||
|
@@ -47,10 +47,6 @@ set(stormlib_optimizations_patch git apply ${CMAKE_CURRENT_SOURCE_DIR}/cmake/dep
|
||
|
endif()
|
||
|
|
||
|
#=================== STB ===================
|
||
|
-set(STB_DIR ${CMAKE_BINARY_DIR}/_deps/stb)
|
||
|
-file(DOWNLOAD "https://github.com/nothings/stb/raw/0bc88af4de5fb022db643c2d8e549a0927749354/stb_image.h" "${STB_DIR}/stb_image.h")
|
||
|
-file(WRITE "${STB_DIR}/stb_impl.c" "#define STB_IMAGE_IMPLEMENTATION\n#include \"stb_image.h\"")
|
||
|
-
|
||
|
add_library(stb STATIC)
|
||
|
|
||
|
target_sources(stb PRIVATE
|