From fbe260c8c0ffb10cf74c00e9d143813c2975471a Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 5 Oct 2024 11:48:02 +0200 Subject: [PATCH] Fix cmake build Signed-off-by: falkTX --- .github/workflows/build.yml | 3 +++ plugins/Nekobi/CMakeLists.txt | 6 ++++++ 2 files changed, 9 insertions(+) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 1ef287c..a67ddc7 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -21,6 +21,7 @@ jobs: - uses: distrho/dpf-cmake-action@v1 with: target: ${{ matrix.target }} + suffix: -cmake linux-make: strategy: @@ -47,6 +48,7 @@ jobs: - uses: distrho/dpf-cmake-action@v1 with: target: ${{ matrix.target }} + suffix: -cmake macos-make: strategy: @@ -74,6 +76,7 @@ jobs: with: target: ${{ matrix.target }} pawpaw: true + suffix: -cmake windows-make: strategy: diff --git a/plugins/Nekobi/CMakeLists.txt b/plugins/Nekobi/CMakeLists.txt index 93a34d9..a1a43dd 100644 --- a/plugins/Nekobi/CMakeLists.txt +++ b/plugins/Nekobi/CMakeLists.txt @@ -13,3 +13,9 @@ target_include_directories(Nekobi . nekobee-src ) + +find_package(Threads) +target_link_libraries(Nekobi + PUBLIC + ${CMAKE_THREAD_LIBS_INIT} +)