Use boost::atomic for max_time_step_queue_size, for easier linking

This commit is contained in:
AdenKoperczak 2025-04-17 11:28:29 -04:00
parent b4694d637b
commit 9f5c126b7f
No known key found for this signature in database
GPG key ID: 9843017036F62EE7
3 changed files with 6 additions and 10 deletions

View file

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