Commit 33f3c577 authored by partyd's avatar partyd
Browse files

COMP: Provide the link directory for linking PythonQt when in use.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@14819 3bd1e089-480b-0410-8dfb-8563597acbee
parent 799d050b
......@@ -84,6 +84,7 @@ IF(Slicer3_USE_PYTHONQT)
LIST(APPEND KIT_target_libraries
CTKScriptingPythonCore
vtkCommonPythonD # For vtkPythonUtils
PythonQt
)
IF(WIN32)
# TODO: this resolves link errors on windows, but shouldn't be
......
......@@ -273,6 +273,7 @@ if (Slicer3_USE_QT)
SET(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CTK_CMAKE_UTILITIES_DIR})
IF(Slicer3_USE_PYTHONQT)
SET(PYTHONQT_INSTALL_DIR ${CTK_PYTHONQT_INSTALL_DIR})
LINK_DIRECTORIES(${PYTHONQT_INSTALL_DIR}/lib)
INCLUDE(${CTK_CMAKE_DIR}/ctkMacroWrapPythonQt.cmake)
ENDIF()
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