Using find_package(Threads REQUIRED) instead of linking pthread directly (#1324)

* Linking to Threads::Threads instead of pthread directly
* moved rt linking to slsSupportObject and only enable for linux
This commit is contained in:
Erik Fröjdh
2026-08-02 21:07:13 +02:00
committed by mazzol_a
parent 5a87c8f2ee
commit 2d1c881194
21 changed files with 52 additions and 33 deletions
+1 -1
View File
@@ -37,7 +37,7 @@ jobs:
- name: C++ unit tests
working-directory: ${{github.workspace}}/build
run: ctest -C ${{env.BUILD_TYPE}} -j1
run: ctest -C ${{env.BUILD_TYPE}} -j1 --rerun-failed --output-on-failure
- name: Python unit tests
working-directory: ${{github.workspace}}/build/bin