Link libatomic statically
This commit is contained in:
parent
80835258c7
commit
3f73163b06
1 changed files with 11 additions and 4 deletions
|
|
@ -47,8 +47,15 @@ if (NOT DESKTOP_APP_USE_PACKAGED)
|
|||
endif()
|
||||
endif()
|
||||
|
||||
target_link_libraries(common_options
|
||||
INTERFACE
|
||||
atomic
|
||||
)
|
||||
if (DESKTOP_APP_USE_PACKAGED)
|
||||
target_link_libraries(common_options
|
||||
INTERFACE
|
||||
atomic
|
||||
)
|
||||
else()
|
||||
target_link_static_libraries(common_options
|
||||
INTERFACE
|
||||
atomic
|
||||
)
|
||||
endif()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue