Author: rinrab
Date: Fri Oct 4 15:27:45 2024
New Revision: 1921108
URL: http://svn.apache.org/viewvc?rev=1921108&view=rev
Log:
cmake: Follow-up to r1921097: require C++ compiler for KWallet.
* CMakeLists.txt
(enable_languages): Add SVN_ENABLE_AUTH_KWALLET variable to the condition
that enables C++ language in the project.
Modified:
subversion/trunk/CMakeLists.txt
Modified: subversion/trunk/CMakeLists.txt
URL:
http://svn.apache.org/viewvc/subversion/trunk/CMakeLists.txt?rev=1921108&r1=1921107&r2=1921108&view=diff
==============================================================================
--- subversion/trunk/CMakeLists.txt (original)
+++ subversion/trunk/CMakeLists.txt Fri Oct 4 15:27:45 2024
@@ -108,9 +108,8 @@ option(SVN_SQLITE_USE_AMALGAMATION "Use
set(SQLiteAmalgamation_ROOT "${CMAKE_SOURCE_DIR}/sqlite-amalgamation" CACHE
STRING "Directory with sqlite amalgamation")
# Require C++ compiler
-if (SVN_ENABLE_SVNXX)
- # TODO: Also add SVN_ENABLE_AUTH_KWALLET and SVN_ENABLE_JAVAHL to the
- # conditions when they done.
+if (SVN_ENABLE_SVNXX OR SVN_ENABLE_AUTH_KWALLET)
+ # TODO: Also add SVN_ENABLE_JAVAHL to the conditions when they done.
enable_language(CXX)
endif()