diff --git a/CMakeLists.txt b/CMakeLists.txt index fa6c7a0e..61eac0fb 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -82,12 +82,6 @@ if(STABLE_DIFFUSION_BUILD) BUILD_ALWAYS 1 INSTALL_COMMAND ${CMAKE_COMMAND} --build . --target install - COMMAND - ${CMAKE_COMMAND} -E copy_if_different - $, - ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_build/bin/$/stable-diffusion${CMAKE_SHARED_LIBRARY_SUFFIX}, - ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_build/bin/libstable-diffusion${CMAKE_SHARED_LIBRARY_SUFFIX}> - ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_install/lib/ LOG_INSTALL 1 ) endif() @@ -181,7 +175,7 @@ if(WIN32) else() install( DIRECTORY - ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_install/lib/ + ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_build/bin/ ${CMAKE_CURRENT_BINARY_DIR}/llama_install/lib/ ${CMAKE_CURRENT_BINARY_DIR}/bark_install/lib/ DESTINATION ${SKBUILD_PLATLIB_DIR}/nexa/gguf/lib @@ -193,7 +187,7 @@ else() install( DIRECTORY - ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_install/lib/ + ${CMAKE_CURRENT_BINARY_DIR}/stable_diffusion_build/bin/ ${CMAKE_CURRENT_BINARY_DIR}/llama_install/lib/ ${CMAKE_CURRENT_BINARY_DIR}/bark_install/lib/ DESTINATION ${CMAKE_CURRENT_SOURCE_DIR}/nexa/gguf/lib