mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	CMake build system: Adding -fext-numeric-literals when compiling with gcc.
This should fix https://github.com/prusa3d/Slic3r/issues/500
This commit is contained in:
		
							parent
							
								
									93774087f1
								
							
						
					
					
						commit
						836dd98113
					
				
					 1 changed files with 5 additions and 0 deletions
				
			
		|  | @ -10,6 +10,11 @@ if (CMAKE_SYSTEM_NAME STREQUAL "Linux") | |||
|     add_compile_options(-std=c++11 -Wall) | ||||
| endif() | ||||
| 
 | ||||
| if (CMAKE_COMPILER_IS_GNUCC OR CMAKE_COMPILER_IS_GNUXX) | ||||
|     # Adding -fext-numeric-literals to enable GCC extensions on definitions of quad float literals, which are required by Boost. | ||||
|     add_compile_options(-fext-numeric-literals) | ||||
| endif() | ||||
| 
 | ||||
| # Where all the bundled libraries reside? | ||||
| set(LIBDIR ${CMAKE_CURRENT_SOURCE_DIR}/src/) | ||||
| # For the bundled boost libraries (boost::nowide) | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv