diff options
author | Ray Molenkamp <github@lazydodo.com> | 2019-04-11 16:20:14 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2019-04-11 16:20:14 +0300 |
commit | f01c71e1d99d9f4ab0b4232215ddcacc90548819 (patch) | |
tree | 4d7d9d705d07a0830269d5736ff0174d085aae54 /source/creator/CMakeLists.txt | |
parent | 9cdc3483ca78e5db00cd0ee52b168f6c36a5a096 (diff) |
Fix: Build issue with draco.
DRACO_LIB_NAME was undefined, better use the proper cmake variable for it.
Diffstat (limited to 'source/creator/CMakeLists.txt')
-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() |