diff options
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/creator/CMakeLists.txt b/source/creator/CMakeLists.txt index 36da605b4ba..a8fef16f096 100644 --- a/source/creator/CMakeLists.txt +++ b/source/creator/CMakeLists.txt @@ -636,7 +636,7 @@ if(UNIX AND NOT APPLE) if(WITH_DRACO) install( - PROGRAMS ${CMAKE_BINARY_DIR}/lib/lib${DRACO_LIB_NAME}.so + PROGRAMS $<TARGET_FILE:extern_draco> DESTINATION ${TARGETDIR_VER}/python/lib/python${PYTHON_VERSION}/site-packages ) endif() @@ -841,7 +841,7 @@ elseif(WIN32) if(WITH_DRACO) install( - PROGRAMS ${CMAKE_BINARY_DIR}/lib/$<CONFIG>/${DRACO_LIB_NAME}.dll + PROGRAMS $<TARGET_FILE:extern_draco> DESTINATION ${TARGETDIR_VER}/python/lib/site-packages ) endif() |