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

This follows Professional CMake's recommended practises
This commit is contained in:
Geert Janssens committed 2020-02-05 11:38:14 +01:00
1 parent 8365283f18
commit e79e82edcf
11 files changed
+18 -18

No files matched your search

+1 -1
View File
@@ -81,4 +81,4 @@ if(WITH_SQL)
RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR})
# No headers to install
endif(WITH_SQL)
endif()
+1 -1
View File
@@ -24,4 +24,4 @@ if(WITH_SQL)
BACKEND_SQL_TEST_INCLUDE_DIRS BACKEND_SQL_TEST_LIBS
)
target_compile_definitions(test-sqlbe PRIVATE TESTPROG=test_sqlbe)
endif(WITH_SQL)
endif()