mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Trying to fix persistent build problems
This shouldn't hurt on any platform, but it may help on a couple of platforms where it appears we are missing libcrypto on the link line. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									20fa943d25
								
							
						
					
					
						commit
						dbe0d844f7
					
				
					 1 changed files with 2 additions and 2 deletions
				
			
		|  | @ -9,7 +9,7 @@ if(LIBGIT2_FROM_PKGCONFIG) | |||
|         endif() | ||||
|         if(FORCE_LIBSSH) | ||||
|                 pkg_config_library(LIBSSH2 libssh2 REQUIRED) | ||||
|                 set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES}) | ||||
|                 set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} ${LIBSSH2_LIBRARIES} -lcrypto) | ||||
|         endif() | ||||
| else() | ||||
| 	find_package(LIBGIT2 REQUIRED) | ||||
|  | @ -31,5 +31,5 @@ else() | |||
|         if(!LIBCURL_FOUND OR "${LIBCURL_FOUND}" STREQUAL "") | ||||
|                 pkg_config_library(LIBCURL libcurl REQUIRED) | ||||
|         endif() | ||||
|         set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} -L${LIBSSH2_LIBRARY_DIRS} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES}) | ||||
|         set(LIBGIT2_LIBRARIES ${LIBGIT2_LIBRARIES} -L${LIBSSH2_LIBRARY_DIRS} ${LIBSSH2_LIBRARIES} ${LIBCURL_LIBRARIES} -lcrypto) | ||||
| endif() | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue