target_libraries.cmake 350 B

123456789101112131415
  1. #
  2. # See CMake/ctkFunctionGetTargetLibraries.cmake
  3. #
  4. # This file should list the libraries required to build the current CTK libraries
  5. #
  6. set(target_libraries
  7. BFD_LIBRARIES
  8. )
  9. if (CTK_QT_VERSION VERSION_GREATER "4")
  10. list(APPEND target_libraries Qt5Core_LIBRARIES Qt5Widgets_LIBRARIES )
  11. else()
  12. list(APPEND target_libraries QT_LIBRARIES)
  13. endif()