Skip to content

Commit

Permalink
Fix CMakeList
Browse files Browse the repository at this point in the history
  • Loading branch information
gleocadie committed Jun 10, 2022
1 parent 90663b2 commit 2a4c9a2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/actions/cache/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ runs:
using: composite
steps:
- name: ⚡ Cache
uses: actions/cache@v2
uses: actions/cache@v3
with:
path: |
~/.cargo/registry/
Expand Down
4 changes: 3 additions & 1 deletion examples/ffi/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,10 @@ add_executable(exporter exporter.cpp)
add_executable(profiles profiles.c)

set(EXTERNAL_LIBS DDProf::FFI)

if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
list(append EXTERNAL_LIBS NtDll UserEnv Bcrypt crypt32 wsock32 ws2_32 shlwapi)
list(APPEND EXTERNAL_LIBS "NtDll UserEnv Bcrypt crypt32 wsock32 ws2_32 shlwapi")
set(EXTERNAL_LIBS "${EXTERNAL_LIBS};NtDll;UserEnv;Bcrypt;crypt32;wsock32;ws2_32;shlwapi")
endif()

if (CMAKE_CXX_COMPILER_ID MATCHES "MSVC")
Expand Down

0 comments on commit 2a4c9a2

Please sign in to comment.