We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d7f430c commit 675208dCopy full SHA for 675208d
CMakeLists.txt
@@ -142,7 +142,7 @@ add_subdirectory(thirdparty)
142
143
target_link_libraries(${SD_LIB} PUBLIC ggml zip)
144
target_include_directories(${SD_LIB} PUBLIC . thirdparty)
145
-target_compile_features(${SD_LIB} PUBLIC cxx_std_11)
+target_compile_features(${SD_LIB} PUBLIC c_std_11 cxx_std_17)
146
147
148
if (SD_BUILD_EXAMPLES)
examples/cli/CMakeLists.txt
@@ -3,4 +3,4 @@ set(TARGET sd)
3
add_executable(${TARGET} main.cpp)
4
install(TARGETS ${TARGET} RUNTIME)
5
target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
6
-target_compile_features(${TARGET} PUBLIC cxx_std_11)
+target_compile_features(${TARGET} PUBLIC c_std_11 cxx_std_17)
0 commit comments