X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=mussa.git;a=blobdiff_plain;f=py%2Ftest%2FCMakeLists.txt;h=15c679910f4a88d2899acac1e4b70ef845315467;hp=8957b7c601a5aa58953cbdb1972126fbb286ce2a;hb=02fc4144044a430f8bee6617c0c9871d4ebe5e4d;hpb=e40b7bc7e27c6fb87cbef0e30b93f2c1b0b51706 diff --git a/py/test/CMakeLists.txt b/py/test/CMakeLists.txt index 8957b7c..15c6799 100644 --- a/py/test/CMakeLists.txt +++ b/py/test/CMakeLists.txt @@ -16,16 +16,19 @@ SET_SOURCE_FILES_PROPERTIES( ADD_EXECUTABLE(mussa_python_test ${SOURCES}) ADD_TEST(mussa_python_test ${CMAKE_BINARY_DIR}/py/test/mussa_python_test) LINK_DIRECTORIES(${CMAKE_BINARY_DIR}/alg}) +# Really it is important to go from library with the most dependencies to least TARGET_LINK_LIBRARIES(mussa_python_test - mussa_core mussa_qui mussa_py - ${QT_LIBRARIES} + mussa_core + ${QT_QTCORE_LIBRARY} ${OPENGL_gl_LIBRARY} ${BOOST_PROGRAM_OPTIONS_LIBRARY} ${BOOST_FILESYSTEM_LIBRARY} + ${BOOST_SERIALIZATION_LIBRARY} ${BOOST_PYTHON_LIBRARY} ${PYTHON_LIBRARIES} + ${PYTHON_LINK_LIBRARIES} ${BOOST_UNIT_TEST_LIBRARY} )