mirror of
				https://github.com/gnss-sdr/gnss-sdr
				synced 2025-10-31 15:23:04 +00:00 
			
		
		
		
	Allow building glog with clang
This commit is contained in:
		| @@ -1235,9 +1235,7 @@ if(NOT GLOG_FOUND OR ${LOCAL_GFLAGS}) | ||||
|         set(GFLAGS_LIBRARIES_TO_LINK ${GFlags_LIBS}) | ||||
|         set(GFLAGS_LIBRARY_DIR_TO_LINK ${GFlags_LIBRARY_DIRS}) | ||||
|     endif() | ||||
|     include(CheckCXXCompilerFlag) | ||||
|     check_cxx_compiler_flag(-stdlib=libc++ HAVE_FLAG_CXX) | ||||
|     if(${HAVE_FLAG_CXX}) | ||||
|     if(OS_IS_MACOSX) | ||||
|         set(GFLAGS_LIBRARIES_TO_LINK "${GFLAGS_LIBRARIES_TO_LINK} -lc++") | ||||
|         set(GLOG_EXPORT_CXX_LIBRARIES "export CXXFLAGS=\"-stdlib=libc++\"") | ||||
|     endif() | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Carles Fernandez
					Carles Fernandez