1
0
Fork 0

Link libatomic statically

This commit is contained in:
Ilya Fedin 2020-07-25 02:28:52 +04:00 committed by John Preston
parent 80835258c7
commit 3f73163b06

View file

@ -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()