diff options
author | Sebastian Holtermann <sebholt@xwmw.org> | 2017-11-19 11:22:49 (GMT) |
---|---|---|
committer | Sebastian Holtermann <sebholt@xwmw.org> | 2017-11-19 12:12:42 (GMT) |
commit | ab9d5896ae43789872fca2e83d556912abb60254 (patch) | |
tree | d18add395533b65ee0c04c59cf823553a82aaa33 /Modules | |
parent | 2a85b5ac768cde4a9bbe98551528c8bae1e268a8 (diff) | |
download | CMake-ab9d5896ae43789872fca2e83d556912abb60254.zip CMake-ab9d5896ae43789872fca2e83d556912abb60254.tar.gz CMake-ab9d5896ae43789872fca2e83d556912abb60254.tar.bz2 |
Autogen: Detect rcc feature once during configuration
We used to detect the `rcc` features before every `rcc` list invocation
wich resulted in `rcc` be called twice for every listing operation.
Now we detect the `rcc` list capabilities once during configuration and
pass it to the cmake_autorcc target in the info file.
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/AutoRccInfo.cmake.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/AutoRccInfo.cmake.in b/Modules/AutoRccInfo.cmake.in index 7b13b9e..5457a6f 100644 --- a/Modules/AutoRccInfo.cmake.in +++ b/Modules/AutoRccInfo.cmake.in @@ -7,5 +7,5 @@ set(ARCC_CMAKE_CURRENT_SOURCE_DIR "@CMAKE_CURRENT_SOURCE_DIR@/") set(ARCC_CMAKE_CURRENT_BINARY_DIR "@CMAKE_CURRENT_BINARY_DIR@/") set(ARCC_BUILD_DIR @_build_dir@) # Qt environment -set(ARCC_QT_VERSION_MAJOR @_qt_version_major@) -set(ARCC_QT_RCC_EXECUTABLE @_qt_rcc_executable@) +set(ARCC_RCC_EXECUTABLE @_qt_rcc_executable@) +set(ARCC_RCC_LIST_OPTIONS @_qt_rcc_list_options@) |