mirror of
https://github.com/leejet/stable-diffusion.cpp.git
synced 2026-04-01 06:09:49 +00:00
10 lines
268 B
CMake
10 lines
268 B
CMake
set(TARGET sd-cli)
|
|
|
|
add_executable(${TARGET}
|
|
image_metadata.cpp
|
|
main.cpp
|
|
)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_link_libraries(${TARGET} PRIVATE stable-diffusion zip ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PUBLIC c_std_11 cxx_std_17)
|