mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2026-01-13 09:35:22 +01:00
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:
@@ -29,7 +29,8 @@ target_compile_definitions(jungfrauDetectorServer_virtual
|
||||
)
|
||||
|
||||
target_link_libraries(jungfrauDetectorServer_virtual
|
||||
PUBLIC pthread rt slsProjectCSettings
|
||||
PUBLIC
|
||||
slsProjectCSettings
|
||||
)
|
||||
|
||||
set_target_properties(jungfrauDetectorServer_virtual PROPERTIES
|
||||
|
||||
Reference in New Issue
Block a user