mirror of
				https://github.com/ciphervance/supercell-wx.git
				synced 2025-10-31 01:30:05 +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>") |     target_compile_options(supercell-wx PRIVATE "$<$<CONFIG:Release>:-g>") | ||||||
| endif() | 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 | target_link_libraries(scwx-qt PUBLIC Qt${QT_VERSION_MAJOR}::Widgets | ||||||
|                                      Qt${QT_VERSION_MAJOR}::OpenGLWidgets |                                      Qt${QT_VERSION_MAJOR}::OpenGLWidgets | ||||||
|                                      Qt${QT_VERSION_MAJOR}::Multimedia |                                      Qt${QT_VERSION_MAJOR}::Multimedia | ||||||
|                                      Qt${QT_VERSION_MAJOR}::Positioning |                                      Qt${QT_VERSION_MAJOR}::Positioning | ||||||
|                                      Qt${QT_VERSION_MAJOR}::SerialPort |                                      Qt${QT_VERSION_MAJOR}::SerialPort | ||||||
|                                      Qt${QT_VERSION_MAJOR}::Svg |                                      Qt${QT_VERSION_MAJOR}::Svg | ||||||
|                                      atomic |  | ||||||
|                                      Boost::json |                                      Boost::json | ||||||
|                                      Boost::timer |                                      Boost::timer | ||||||
|                                      QMapLibre::Core |                                      QMapLibre::Core | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 AdenKoperczak
						AdenKoperczak