From: Diane Trout Date: Tue, 17 Oct 2006 20:40:17 +0000 (+0000) Subject: don't like QTOPENGL to python module X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=commitdiff_plain;h=707d28fbe7b1f420b8ac62761015b3a1d0f6f07e don't like QTOPENGL to python module 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. --- diff --git a/py/CMakeLists.txt b/py/CMakeLists.txt index edf988e..f8502ad 100644 --- a/py/CMakeLists.txt +++ b/py/CMakeLists.txt @@ -37,13 +37,13 @@ IF(BOOST_PYTHON_LIBRARY) 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)