Commit f9428f6f authored by Christian Schulte zu Berge's avatar Christian Schulte zu Berge
Browse files

Added Win32 DLLs to openigtlink.cmake file so that they are copied to the target directory.

parent 05255ed4
......@@ -38,6 +38,9 @@ IF(ModuleEnabled)
LIST(APPEND ThisModExternalLibs ${OpenIGTLink_LIBRARIES})
LIST(APPEND ThisModLinkDirectories ${OpenIGTLink_LIBRARY_DIRS})
LIST(APPEND ThisModExternalDllsDebug "${OpenIGTLink_LIBRARY_DIRS}/Debug/igtlutil.dll" "${OpenIGTLink_LIBRARY_DIRS}/Debug/OpenIGTLink.dll")
LIST(APPEND ThisModExternalDllsRelease "${OpenIGTLink_LIBRARY_DIRS}/Release/igtlutil.dll" "${OpenIGTLink_LIBRARY_DIRS}/Release/OpenIGTLink.dll")
ELSE()
MESSAGE(FATAL_ERROR "Could not find OpenIGTLink. Please specify OpenIGTLink_DIR.")
ENDIF()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment