mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 15:10:06 +00:00
Ensure atomic is only linked for non-windows OS's
This commit is contained in:
parent
3f9f5fcb90
commit
b4694d637b
1 changed files with 5 additions and 1 deletions
|
|
@ -686,13 +686,17 @@ else()
|
|||
target_compile_options(supercell-wx PRIVATE "$<$<CONFIG:Release>:-g>")
|
||||
endif()
|
||||
|
||||
# link atomic only for Linux
|
||||
if (!MSVC)
|
||||
target_link_libraries(scwx-qt PUBLIC atomic)
|
||||
endif()
|
||||
|
||||
target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets
|
||||
Qt${QT_VERSION_MAJOR}::OpenGLWidgets
|
||||
Qt${QT_VERSION_MAJOR}::Multimedia
|
||||
Qt${QT_VERSION_MAJOR}::Positioning
|
||||
Qt${QT_VERSION_MAJOR}::SerialPort
|
||||
Qt${QT_VERSION_MAJOR}::Svg
|
||||
atomic
|
||||
Boost::json
|
||||
Boost::timer
|
||||
QMapLibre::Core
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue