mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Whitespace
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									60123515b6
								
							
						
					
					
						commit
						096682cd94
					
				
					 1 changed files with 21 additions and 21 deletions
				
			
		| 
						 | 
					@ -2,35 +2,35 @@
 | 
				
			||||||
if(LIBGIT2_FROM_PKGCONFIG)
 | 
					if(LIBGIT2_FROM_PKGCONFIG)
 | 
				
			||||||
	pkg_config_library(LIBGIT2 libgit2 REQUIRED)
 | 
						pkg_config_library(LIBGIT2 libgit2 REQUIRED)
 | 
				
			||||||
	set(LIBGIT2_LIBRARIES "")
 | 
						set(LIBGIT2_LIBRARIES "")
 | 
				
			||||||
        if(ANDROID)
 | 
						if(ANDROID)
 | 
				
			||||||
                # for Android we need to force a static link against ssl and crypto
 | 
							# for Android we need to force a static link against ssl and crypto
 | 
				
			||||||
                # this is a bit hacky, but it seems to work
 | 
							# this is a bit hacky, but it seems to work
 | 
				
			||||||
                set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBGIT2_LIBRARY_DIRS}/libssl.a ${LIBGIT2_LIBRARY_DIRS}/libcrypto.a)
 | 
							set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBGIT2_LIBRARY_DIRS}/libssl.a ${LIBGIT2_LIBRARY_DIRS}/libcrypto.a)
 | 
				
			||||||
        endif()
 | 
						endif()
 | 
				
			||||||
        if(FORCE_LIBSSH)
 | 
						if(FORCE_LIBSSH)
 | 
				
			||||||
                pkg_config_library(LIBSSH2 libssh2 REQUIRED)
 | 
							pkg_config_library(LIBSSH2 libssh2 REQUIRED)
 | 
				
			||||||
                set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} -lcrypto)
 | 
							set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} -lcrypto)
 | 
				
			||||||
        endif()
 | 
						endif()
 | 
				
			||||||
else()
 | 
					else()
 | 
				
			||||||
	find_package(LIBGIT2 REQUIRED)
 | 
						find_package(LIBGIT2 REQUIRED)
 | 
				
			||||||
	include_directories(${LIBGIT2_INCLUDE_DIR})
 | 
						include_directories(${LIBGIT2_INCLUDE_DIR})
 | 
				
			||||||
        if(FORCE_LIBSSH)
 | 
						if(FORCE_LIBSSH)
 | 
				
			||||||
                find_package(Libssh2 QUIET CONFIG)
 | 
							find_package(Libssh2 QUIET CONFIG)
 | 
				
			||||||
		if ("${LIBSSH2_VERSION}" STRLESS "1.7" AND "${LIBSSH2_VERSION}" STRGREATER "1.6.1")
 | 
							if ("${LIBSSH2_VERSION}" STRLESS "1.7" AND "${LIBSSH2_VERSION}" STRGREATER "1.6.1")
 | 
				
			||||||
                        set(LIBSSH2_LIBRARIES Libssh2::libssh2)
 | 
								set(LIBSSH2_LIBRARIES Libssh2::libssh2)
 | 
				
			||||||
                endif()
 | 
							endif()
 | 
				
			||||||
		# at least on my Mac I get the mixed case variable instead...
 | 
							# at least on my Mac I get the mixed case variable instead...
 | 
				
			||||||
		if(Libssh2_FOUND)
 | 
							if(Libssh2_FOUND)
 | 
				
			||||||
			set(LIBSSH2_FOUND ${Libssh2_FOUND})
 | 
								set(LIBSSH2_FOUND ${Libssh2_FOUND})
 | 
				
			||||||
		endif()
 | 
							endif()
 | 
				
			||||||
                if(!LIBSSH2_FOUND OR "${LIBSSH2_FOUND}" STREQUAL "")
 | 
							if(!LIBSSH2_FOUND OR "${LIBSSH2_FOUND}" STREQUAL "")
 | 
				
			||||||
                        pkg_config_library(LIBSSH2 libssh2 REQUIRED)
 | 
								pkg_config_library(LIBSSH2 libssh2 REQUIRED)
 | 
				
			||||||
                endif()
 | 
							endif()
 | 
				
			||||||
        endif()
 | 
						endif()
 | 
				
			||||||
        find_package(libcurl QUIET)
 | 
						find_package(libcurl QUIET)
 | 
				
			||||||
        if(!LIBCURL_FOUND OR "${LIBCURL_FOUND}" STREQUAL "")
 | 
						if(!LIBCURL_FOUND OR "${LIBCURL_FOUND}" STREQUAL "")
 | 
				
			||||||
                pkg_config_library(LIBCURL libcurl REQUIRED)
 | 
							pkg_config_library(LIBCURL libcurl REQUIRED)
 | 
				
			||||||
        endif()
 | 
						endif()
 | 
				
			||||||
	if("${LIBSSH2_LIBRARY_DIRS}" STREQUAL "")
 | 
						if("${LIBSSH2_LIBRARY_DIRS}" STREQUAL "")
 | 
				
			||||||
		set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES} -lcrypto)
 | 
							set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES} -lcrypto)
 | 
				
			||||||
	else()
 | 
						else()
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue