Skip to content

Commit

Permalink
Update CMakeLists.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
runette authored Nov 13, 2024
1 parent 9520f51 commit 0c0951d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions swig/csharp/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,7 @@ endif ()
if (DOTNET_FOUND)
file(TO_NATIVE_PATH ${CMAKE_CURRENT_BINARY_DIR} _DN_REPO_PATH)
dotnet_register_local_repository("local" ${_DN_REPO_PATH})
dotnet_disable_nuget_org()
endif ()

# Copy build files
Expand Down Expand Up @@ -459,6 +460,8 @@ function (gdal_build_csharp_sample)
STATUS
"BUILDING : " ${_GBCS_OUTPUT} " : " ${CSHARP_COMPILER} ${CSC_OPTIONS} )
endif ()
add_custom_command(

add_custom_command(
OUTPUT ${OUTPUT_FILENAME}
COMMAND ${CMAKE_COMMAND} -E echo "Building ${_GBCS_OUTPUT_NATIVE}"
Expand Down

0 comments on commit 0c0951d

Please sign in to comment.