From f01c71e1d99d9f4ab0b4232215ddcacc90548819 Mon Sep 17 00:00:00 2001 From: Ray Molenkamp Date: Thu, 11 Apr 2019 07:20:14 -0600 Subject: Fix: Build issue with draco. DRACO_LIB_NAME was undefined, better use the proper cmake variable for it. --- source/creator/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/creator/CMakeLists.txt') 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 $ 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/$/${DRACO_LIB_NAME}.dll + PROGRAMS $ DESTINATION ${TARGETDIR_VER}/python/lib/site-packages ) endif() -- cgit v1.2.3