Skip to content

Commit

Permalink
Continued migrating Windows CI/CD to fully use MSYS2
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacShelton committed Jan 6, 2025
1 parent 322d215 commit 54c4a4a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/remoteBuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
if: ${{ matrix.os == 'windows-latest' }}
shell: msys2 {0}
run: |
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DCMAKE_C_STANDARD_LIRBARIES="C:/Windows/System32/ntdll.dll" -DADEPT_LINK_LLVM_STATIC=On -B "${{github.workspace}}/build" -G Ninja
cmake -DCMAKE_BUILD_TYPE=${{env.BUILD_TYPE}} -DADEPT_LINK_LLVM_STATIC=On -B "${{github.workspace}}/build" -G Ninja
env:
LLVM_DIR: ${{github.workspace}}/llvm/llvm/build
zstd_DIR: C:\msys64\mingw64
Expand Down
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ target_link_directories(adept PRIVATE ${CURL_LIBRARY_DIRS} ${LLVM_LIBRARY_DIRS})
target_compile_definitions(adept PRIVATE ADEPT_ENABLE_PACKAGE_MANAGER)

if(WIN32)
target_link_libraries(adept ntdll)
target_link_libraries(adept "C:/Windows/System32/ntdll.dll")
endif()

add_library(libadept STATIC)
Expand All @@ -82,7 +82,7 @@ target_link_directories(libadept PRIVATE ${CURL_LIBRARY_DIRS} ${LLVM_LIBRARY_DIR
target_compile_definitions(libadept PRIVATE ADEPT_ENABLE_PACKAGE_MANAGER)

if(WIN32)
target_link_libraries(libadept ntdll)
target_link_libraries(libadept "C:/Windows/System32/ntdll.dll")
endif()

message(STATUS "Including debug files")
Expand Down

0 comments on commit 54c4a4a

Please sign in to comment.