mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-11-11 11:26:34 +00:00
fix: minor build fixes (#2)
* cmake : fix C++11 build * gitignore : ignore .cache
This commit is contained in:
1 parent
228e94b924
commit
a08cae6d95
2 files changed
+4
-3
No files matched your search
+1
-2
@@ -12,6 +12,5 @@ add_executable(${SD_TARGET} main.cpp stb_image_write.h)
|
||||
target_link_libraries(${SD_LIB} PUBLIC ggml)
|
||||
target_link_libraries(${SD_TARGET} ${SD_LIB})
|
||||
|
||||
target_compile_features(${SD_LIB} PUBLIC cxx_std_11)
|
||||
target_compile_features(${SD_TARGET} PUBLIC cxx_std_11)
|
||||
|
||||
set(CMAKE_CXX_STANDARD 11)
|
||||
Reference in new issue
Block a user