CMake - remove parameter repetition in else() and endif() statements

Fix leftovers after the maint branch merge
This commit is contained in:
Geert Janssens 2020-02-06 17:01:26 +01:00
parent 301db9020d
commit ab5b7155af
5 changed files with 7 additions and 7 deletions

View File

@ -526,7 +526,7 @@ else()
endif()
if (NOT HAVE_BOOST)
message (SEND_ERROR "A suitable Boost is not installed, and is required. GnuCash requires that Boost be compatible and compiled with C++17. Boost 1.67 is the first compatible release but some distributions have patched earlier ones to work with C++17. Please install it and ensure that the following libraries are built: date_time, filesystem, locale, and regex.")
endif ()
endif()
# Compiler flags

View File

@ -96,7 +96,7 @@ set (engine_SCHEME_2
set(BACKEND_DEPENDS gncmod-backend-xml)
if (WITH_SQL)
list(APPEND BACKEND_DEPENDS gncmod-backend-dbi)
endif(WITH_SQL)
endif()
set(GUILE_DEPENDS
${BACKEND_DEPENDS}

View File

@ -82,7 +82,7 @@ if (HAVE_SRFI64)
gnc_add_scheme_tests("${scm_tests_with_srfi64_SOURCES}")
add_dependencies(check scm-srfi64-extras)
endif (HAVE_SRFI64)
endif()
set(test_scm_SCHEME
@ -109,7 +109,7 @@ if (HAVE_SRFI64)
gnc_add_scheme_tests("${test_scm_SCHEME}")
endif (HAVE_SRFI64)
endif()
set(test_engine_SCHEME_DIST
srfi64-extras.scm

View File

@ -46,7 +46,7 @@ if (HAVE_SRFI64)
)
gnc_add_scheme_tests ("${scm_test_report_with_srfi64_SOURCES}")
endif (HAVE_SRFI64)
endif()
gnc_add_scheme_test_targets(scm-test-report
"test-report-extras.scm"

View File

@ -113,9 +113,9 @@ add_custom_target(gnc-vcs-info ALL
-D SHELL="${SHELL}"
-P ${CMAKE_SOURCE_DIR}/cmake/git2version-info.cmake
)
else(BUILDING_FROM_VCS)
else()
add_custom_target(gnc-vcs-info DEPENDS ${VCS_INFO_FILE})
endif(BUILDING_FROM_VCS)
endif()
dist_add_generated (${BUILDING_FROM_VCS} gnc-vcs-info.h)
# Dist files