gnucash maint: CMake - remove parameter repetition in else() and endif() statements - part 2

Geert Janssens gjanssens at code.gnucash.org
Thu Feb 6 11:10:33 EST 2020


Updated	 via  https://github.com/Gnucash/gnucash/commit/90e95ba8 (commit)
	from  https://github.com/Gnucash/gnucash/commit/7f794bb2 (commit)



commit 90e95ba8ef0d9cd2ed5db041c8d299e8096e4632
Author: Geert Janssens <geert at kobaltwit.be>
Date:   Thu Feb 6 16:16:31 2020 +0100

    CMake - remove parameter repetition in else() and endif() statements - part 2
    
    This follows Professional CMake's recommended practises
    I missed plenty of these in my first commit. This one should fix
    these remaining occurrences.



Summary of changes:
 CMakeLists.txt                                     | 124 ++++++++++-----------
 borrowed/CMakeLists.txt                            |   2 +-
 cmake/CMakeLists.txt                               |   2 +-
 cmake/cmake_uninstall.cmake.in                     |   8 +-
 common/cmake_modules/GncAddSchemeTargets.cmake     |  20 ++--
 common/cmake_modules/GncAddTest.cmake              |   4 +-
 .../MacroAddSourceFileCompileFlags.cmake           |   4 +-
 common/cmake_modules/MakeDistCheck.cmake           |   2 +-
 gnucash/CMakeLists.txt                             |  12 +-
 gnucash/gnome-utils/CMakeLists.txt                 |  10 +-
 gnucash/gnome/CMakeLists.txt                       |   2 +-
 gnucash/gschemas/CMakeLists.txt                    |   2 +-
 gnucash/html/CMakeLists.txt                        |   2 +-
 gnucash/import-export/aqb/CMakeLists.txt           |   2 +-
 gnucash/import-export/aqb/gschemas/CMakeLists.txt  |   2 +-
 gnucash/import-export/ofx/gschemas/CMakeLists.txt  |   2 +-
 gnucash/import-export/ofx/test/CMakeLists.txt      |   2 +-
 gnucash/import-export/qif-imp/test/CMakeLists.txt  |   2 +-
 gnucash/python/CMakeLists.txt                      |   2 +-
 gnucash/register/register-gnome/CMakeLists.txt     |   6 +-
 .../report/business-reports/test/CMakeLists.txt    |   2 +-
 gnucash/report/report-system/test/CMakeLists.txt   |   2 +-
 .../report/standard-reports/test/CMakeLists.txt    |   4 +-
 gnucash/report/stylesheets/CMakeLists.txt          |   2 +-
 po/CMakeLists.txt                                  |   4 +-
 25 files changed, 113 insertions(+), 113 deletions(-)



More information about the gnucash-patches mailing list