mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 17:40:05 +00:00
Use boost::atomic for max_time_step_queue_size, for easier linking
This commit is contained in:
parent
b4694d637b
commit
9f5c126b7f
3 changed files with 6 additions and 10 deletions
|
|
@ -686,11 +686,6 @@ 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
|
||||
|
|
@ -699,6 +694,7 @@ target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets
|
|||
Qt${QT_VERSION_MAJOR}::Svg
|
||||
Boost::json
|
||||
Boost::timer
|
||||
Boost::atomic
|
||||
QMapLibre::Core
|
||||
$<$<CXX_COMPILER_ID:MSVC>:opengl32>
|
||||
$<$<CXX_COMPILER_ID:MSVC>:SetupAPI>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue