diff options
author | Brad King <brad.king@kitware.com> | 2015-07-28 14:08:44 (GMT) |
---|---|---|
committer | CMake Topic Stage <kwrobot@kitware.com> | 2015-07-28 14:08:44 (GMT) |
commit | eb2b23e0d9648a5e70b8c7f917f1bfa2f058dfcd (patch) | |
tree | e84a336f31d648f304ba6f589afe1f2579298b6c /Source | |
parent | be938ab3f8872346336cdbe4fb613c5c5e36e03d (diff) | |
parent | 068e7962bb8a90ae9ae6b7d6da520a70701820af (diff) | |
download | CMake-eb2b23e0d9648a5e70b8c7f917f1bfa2f058dfcd.zip CMake-eb2b23e0d9648a5e70b8c7f917f1bfa2f058dfcd.tar.gz CMake-eb2b23e0d9648a5e70b8c7f917f1bfa2f058dfcd.tar.bz2 |
Merge topic 'cmake-install-dependencies-option'
068e7962 CMake: Add CMake_INSTALL_DEPENDENCIES option
Diffstat (limited to 'Source')
-rw-r--r-- | Source/QtDialog/CMakeLists.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/QtDialog/CMakeLists.txt b/Source/QtDialog/CMakeLists.txt index ba993eb..ad6a7fb 100644 --- a/Source/QtDialog/CMakeLists.txt +++ b/Source/QtDialog/CMakeLists.txt @@ -39,7 +39,7 @@ if (Qt5Widgets_FOUND) # We need to install platform plugin and add qt.conf for Qt5 on Mac and Windows. # FIXME: This should be part of Qt5 CMake scripts, but unfortunatelly # Qt5 support is missing there. - if(APPLE OR WIN32) + if(CMake_INSTALL_DEPENDENCIES AND (APPLE OR WIN32)) macro(install_qt5_plugin _qt_plugin_name _qt_plugins_var) get_target_property(_qt_plugin_path "${_qt_plugin_name}" LOCATION) if(EXISTS "${_qt_plugin_path}") @@ -213,7 +213,7 @@ if(APPLE) " ${COMPONENT}) endif() -if(APPLE OR WIN32) +if(CMake_INSTALL_DEPENDENCIES AND (APPLE OR WIN32)) # install rules for including 3rd party libs such as Qt # if a system Qt is used (e.g. installed in /usr/lib/), it will not be included in the installation set(fixup_exe "\$ENV{DESTDIR}\${CMAKE_INSTALL_PREFIX}/bin/cmake-gui${CMAKE_EXECUTABLE_SUFFIX}") |