Skip to content

Commit

Permalink
Merge pull request #11255 from rouault/cmake_3_31_compat_csharp
Browse files Browse the repository at this point in the history
CMake: fix swig/csharp/CMakeLists.txt compatibility with CMake 3.31
  • Loading branch information
rouault authored Nov 12, 2024
2 parents e6ae79a + fce0166 commit f5076e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion swig/csharp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ function (gdal_csharp_dll)
add_custom_command(
COMMAND ${CMAKE_COMMAND} -E "copy_if_different"
"${CMAKE_CURRENT_BINARY_DIR}/${_CSHARP_TARGET_SUBDIR}/${_root}-$<CONFIG>.csproj" "${_CSHARP_PROJ}"
VERBATIM PRE_BUILD
VERBATIM
DEPENDS "${CMAKE_CURRENT_BINARY_DIR}/${_CSHARP_TARGET_SUBDIR}/${_root}-$<CONFIG>.csproj"
OUTPUT ${_CSHARP_PROJ})
add_dotnet(
Expand Down

0 comments on commit f5076e7

Please sign in to comment.