don't like QTOPENGL to python module
authorDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 20:40:17 +0000 (20:40 +0000)
committerDiane Trout <diane@caltech.edu>
Tue, 17 Oct 2006 20:40:17 +0000 (20:40 +0000)
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.

py/CMakeLists.txt

index edf988e960056bc8be071062aa2cbb55e82065fa..f8502ad3a52bcfc94a2b64d2fbd81bba90fb2181 100644 (file)
@@ -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)