CMake: Install module JSON files to INSTALL_ARCHDATADIR/modules
The module description JSON files contain architecture-specific information. Therefore they should reside below INSTALL_ARCHDATADIR instead of INSTALL_DATADIR. Moving these files should be unproblematic as there are no known users of these files. Change-Id: Ibff1f7b6ce2d1633ebce33861358ad5d1cae2beb Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
This commit is contained in:
parent
4f0272befb
commit
8bffcdc52f
@ -140,7 +140,7 @@ qt_configure_process_path(INSTALL_SYSCONFDIR
|
||||
qt_configure_process_path(INSTALL_EXAMPLESDIR "examples" "Examples [PREFIX/examples]")
|
||||
qt_configure_process_path(INSTALL_TESTSDIR "tests" "Tests [PREFIX/tests]")
|
||||
qt_configure_process_path(INSTALL_DESCRIPTIONSDIR
|
||||
"${INSTALL_DATADIR}/modules"
|
||||
"${INSTALL_ARCHDATADIR}/modules"
|
||||
"Module description files directory")
|
||||
|
||||
if(NOT "${CMAKE_STAGING_PREFIX}" STREQUAL "")
|
||||
|
Loading…
Reference in New Issue
Block a user