Author: rinrab Date: Thu Aug 8 15:04:36 2024 New Revision: 1919750 URL: http://svn.apache.org/viewvc?rev=1919750&view=rev Log: On the 'cmake' branch: Follow-up to r1919745: Fix copy-paste mistake with swig targets enable conditions.
* build/generator/gen-cmake.py (get_target_conditions): Replace second type of the check for SWIG targets from duplicated TargetSWIG to TargetSWIGLib. Modified: subversion/branches/cmake/build/generator/gen_cmake.py Modified: subversion/branches/cmake/build/generator/gen_cmake.py URL: http://svn.apache.org/viewvc/subversion/branches/cmake/build/generator/gen_cmake.py?rev=1919750&r1=1919749&r2=1919750&view=diff ============================================================================== --- subversion/branches/cmake/build/generator/gen_cmake.py (original) +++ subversion/branches/cmake/build/generator/gen_cmake.py Thu Aug 8 15:04:36 2024 @@ -81,7 +81,7 @@ def get_target_conditions(target): enable_condition.append("NOT BUILD_SHARED_LIBS") if isinstance(target, gen_base.TargetSWIG) or \ - isinstance(target, gen_base.TargetSWIG): + isinstance(target, gen_base.TargetSWIGLib): enable_condition.append("SVN_ENABLE_SWIG_" + target.lang.upper()) return enable_condition