diff --git a/.gitignore b/.gitignore index 1a0f9116c..db0a93f48 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,4 @@ build*/ -test/ \ No newline at end of file +test/ + +.cache/ diff --git a/CMakeLists.txt b/CMakeLists.txt index 6962e9b35..3557b8c53 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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) \ No newline at end of file