mirror of
https://github.com/leejet/stable-diffusion.cpp
synced 2026-03-02 05:00:19 +01:00
6 lines
231 B
CMake
6 lines
231 B
CMake
set(TARGET sd)
|
|
|
|
add_executable(${TARGET} main.cpp)
|
|
install(TARGETS ${TARGET} RUNTIME)
|
|
target_link_libraries(${TARGET} PRIVATE stable-diffusion ${CMAKE_THREAD_LIBS_INIT})
|
|
target_compile_features(${TARGET} PUBLIC c_std_11 cxx_std_17) |