fix: minor build fixes (#2)

* cmake : fix C++11 build

* gitignore : ignore .cache
This commit is contained in:
Georgi Gerganov authored and GitHub committed 2023-08-14 08:12:04 +08:00
1 parent 228e94b924
commit a08cae6d95
2 files changed
+4 -3

No files matched your search

+1 -2
View File
@@ -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)