mirror of
				https://github.com/eclipse/upm.git
				synced 2025-11-04 09:05:34 +03:00 
			
		
		
		
	CMakeLists.txt: make sure compiler standards extensions are disabled.
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
		@@ -232,6 +232,7 @@ else()
 | 
			
		||||
  # 3.1+ uses this generic method to enable c++11
 | 
			
		||||
  set (CMAKE_CXX_STANDARD 11)
 | 
			
		||||
  set (CXX_STANDARD_REQUIRED ON)
 | 
			
		||||
  set (CXX_EXTENSIONS OFF)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
include(CheckCCompilerFlag)
 | 
			
		||||
@@ -246,6 +247,7 @@ else()
 | 
			
		||||
  # 3.1+ uses this generic method to enable c11
 | 
			
		||||
  set (CMAKE_C_STANDARD 11)
 | 
			
		||||
  set (C_STANDARD_REQUIRED ON)
 | 
			
		||||
  set (C_EXTENSIONS OFF)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# The doc target depends on each sensor target
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user