The only dependency the python layer should have is on QtCore so adjust
which libraries are included to only include QtCore. Otherwise when
it decides to link in QtOpenGL I get a warning about not being able to find
QtGui.
LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/alg)
TARGET_LINK_LIBRARIES(mussa
mussa_core
- mussa_qui
${BOOST_PYTHON_LIBRARY}
${BOOST_FILESYSTEM_LIBRARY}
${BOOST_SERIALIZATION_LIBRARY}
${OPENGL_gl_LIBRARY}
${PYTHON_LIBRARIES}
- ${QT_LIBRARIES}
+ optimized ${QT_QTCORE_LIBRARY}
+ debug ${QT_QTCORE_LIBRARY_DEBUG}
)
GET_MUSSA_COMPILE_FLAGS(PY_CFLAGS)