Skip to content

Commit

Permalink
Merge pull request #324 from mleotta/dev/add-cuda-to-fixup-dirs
Browse files Browse the repository at this point in the history
Add the CUDA library directory to the FIX_DIRS list for fixup_bundle
  • Loading branch information
mleotta committed Jun 7, 2019
2 parents 1b3e160 + f975d2d commit 66c7f92
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gui/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,13 @@ if (TELESCULPTOR_FIXUP_BUNDLE_ON_PACKAGE)
endif()
endif()

if(DEFINED CUDA_TOOLKIT_ROOT_DIR)
if(WIN32)
list(APPEND FIXUP_DIRS "${CUDA_TOOLKIT_ROOT_DIR}/bin")
else()
list(APPEND FIXUP_DIRS "${CUDA_TOOLKIT_ROOT_DIR}/lib")
endif()
endif()

# Location for QT libraries
if(WIN32 AND TARGET Qt5::Core)
Expand Down

0 comments on commit 66c7f92

Please sign in to comment.