tooltip for playlist model
[jkt-jerboa.git] / QtLibraries.cmake
blob8a140702d2c705457fcdb949949466f079f8d993
1 SET(QT_RELEASE_LIBRARIES)
2 FOREACH(CURRENT_QT_LIBRARY ${QT_LIBRARIES})
3         IF(NEXT_QT_LIBRARY_IS_RELEASE)
4                 SET(QT_RELEASE_LIBRARIES ${QT_RELEASE_LIBRARIES} ${CURRENT_QT_LIBRARY})
5                 SET(NEXT_QT_LIBRARY_IS_RELEASE FALSE)
6         ELSEIF(NEXT_QT_LIBRARY_IS_DEBUG)
7                 SET(QT_DEBUG_LIBRARIES ${QT_DEBUG_LIBRARIES} ${CURRENT_QT_LIBRARY})
8                 SET(NEXT_QT_LIBRARY_IS_DEBUG FALSE)
9         ENDIF(NEXT_QT_LIBRARY_IS_RELEASE)
11         IF(${CURRENT_QT_LIBRARY} STREQUAL "optimized")
12                 SET(NEXT_QT_LIBRARY_IS_RELEASE TRUE)
13         ELSEIF(${CURRENT_QT_LIBRARY} STREQUAL "debug")
14                 SET(NEXT_QT_LIBRARY_IS_DEBUG TRUE)
15         ENDIF(${CURRENT_QT_LIBRARY} STREQUAL "optimized")
16 ENDFOREACH(CURRENT_QT_LIBRARY ${QT_LIBRARIES})
18 IF(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
19         SET(QT_ACTIVE_LIBRARIES ${QT_DEBUG_LIBRARIES})
20 ELSE(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
21         SET(QT_ACTIVE_LIBRARIES ${QT_RELEASE_LIBRARIES})
22 ENDIF(${CMAKE_BUILD_TYPE} STREQUAL "Debug")