Skip to content

Commit

Permalink
.NET: Fix test projects getting compiled without required files
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed May 26, 2024
1 parent 5a60d52 commit eab296a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions csharp-api/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -104,6 +104,7 @@ function(check_dlls_exist DLL_PREFIX DLLS VAR_NAME)
endforeach()

if (NOT ${${VAR_NAME}})
set(${VAR_NAME} FALSE PARENT_SCOPE)
message(STATUS "One or more specified DLLs do not exist (${DLL_PREFIX})")
else()
message(STATUS "All specified DLLs exist (${DLL_PREFIX})")
Expand Down
1 change: 1 addition & 0 deletions csharp-api/cmake.toml
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ function(check_dlls_exist DLL_PREFIX DLLS VAR_NAME)
endforeach()
if (NOT ${${VAR_NAME}})
set(${VAR_NAME} FALSE PARENT_SCOPE)
message(STATUS "One or more specified DLLs do not exist (${DLL_PREFIX})")
else()
message(STATUS "All specified DLLs exist (${DLL_PREFIX})")
Expand Down

0 comments on commit eab296a

Please sign in to comment.