implements #781
This commit is contained in:
		
							parent
							
								
									1e7e5ea57c
								
							
						
					
					
						commit
						8d3fdf45b9
					
				| @ -66,6 +66,13 @@ if(CMAKE_BUILD_TYPE MATCHES Release) | ||||
|     message(STATUS "Configuring OSRM in release mode") | ||||
| endif(CMAKE_BUILD_TYPE MATCHES Release) | ||||
| 
 | ||||
| # set compile switches | ||||
| if (NOT "${CMAKE_CXX_COMPILER_ID}" STREQUAL "MSVC") | ||||
|     # not using Visual Studio C++ | ||||
|     set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fPIC") | ||||
|     set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fPIC") | ||||
| endif() | ||||
| 
 | ||||
| # Configuring compilers | ||||
| if ("${CMAKE_CXX_COMPILER_ID}" STREQUAL "Clang") | ||||
| 	# using Clang | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user