|
@@ -35,13 +35,13 @@ macro(ctkMacroSetupQt)
|
|
|
set(QT5_INSTALL_PREFIX "" CACHE PATH "The install location of Qt5")
|
|
|
set(CMAKE_PREFIX_PATH ${CMAKE_PREFIX_PATH} ${QT5_INSTALL_PREFIX})
|
|
|
set(CTK_QT5_COMPONENTS Core Xml XmlPatterns Concurrent Sql Test)
|
|
|
- if(CTK_LIB_Widgets OR CTK_LIB_CommandLineModules/Frontend/QtGui OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
+ if(CTK_LIB_Widgets OR CTK_LIB_CommandLineModules/Frontend/QtGui OR CTK_BUILD_ALL OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
list(APPEND CTK_QT5_COMPONENTS Widgets OpenGL UiTools)
|
|
|
endif()
|
|
|
- if(CTK_LIB_CommandLineModules/Frontend/QtWebKit OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
+ if(CTK_LIB_CommandLineModules/Frontend/QtWebKit OR CTK_BUILD_ALL OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
list(APPEND CTK_QT5_COMPONENTS WebKitWidgets)
|
|
|
endif()
|
|
|
- if(CTK_LIB_XNAT/Core OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
+ if(CTK_LIB_XNAT/Core OR CTK_BUILD_ALL OR CTK_BUILD_ALL_LIBRARIES)
|
|
|
list(APPEND CTK_QT5_COMPONENTS Script)
|
|
|
endif()
|
|
|
find_package(Qt5 COMPONENTS ${CTK_QT5_COMPONENTS} REQUIRED)
|