Permalink
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (15 sloc) 690 Bytes
# -------------------------------------------------------------------------
# Find and install PythonQt
# -------------------------------------------------------------------------
set(PYTHONQT_INSTALL_LIB_DIR "${Slicer_INSTALL_LIB_DIR}")
if(WIN32)
install(FILES ${PYTHONQT_INSTALL_DIR}/bin/PythonQt.dll
DESTINATION bin COMPONENT Runtime)
elseif(APPLE)
# needs to install symlink version named libraries as well.
install(FILES ${PYTHONQT_INSTALL_DIR}/lib/libPythonQt.dylib
DESTINATION ${PYTHONQT_INSTALL_LIB_DIR} COMPONENT Runtime)
elseif(UNIX)
install(FILES ${PYTHONQT_INSTALL_DIR}/lib/libPythonQt.so
DESTINATION ${PYTHONQT_INSTALL_LIB_DIR} COMPONENT Runtime)
endif()