Skip to content

Commit 997ddbd

Browse files
committed
temp扩充:添加stb_image库
1 parent d017e62 commit 997ddbd

File tree

4 files changed

+7664
-0
lines changed

4 files changed

+7664
-0
lines changed

temp-demo/CMakeLists.txt

+4
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,10 @@ set(LIBS ${LIBS} ${GLFW3})
4444
add_library(GLAD "src/glad.c")
4545
set(LIBS ${LIBS} GLAD)
4646

47+
# stb_image库
48+
add_library(STB_IMAGE "src/stb_image.cpp")
49+
set(LIBS ${LIBS} STB_IMAGE)
50+
4751
# 指定生成目标
4852
add_executable(main "src/main.cpp")
4953

0 commit comments

Comments
 (0)