mirror of
				https://github.com/subsurface/subsurface.git
				synced 2025-02-19 22:16:15 +00:00 
			
		
		
		
	Build script: small updates around installation on Linux
Don't install by default (and don't configure Subsurface to install into install-root). Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
		
							parent
							
								
									0fea81ccdf
								
							
						
					
					
						commit
						73f2cc631c
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -200,7 +200,7 @@ fi
 | 
			
		|||
cd $SRC/subsurface
 | 
			
		||||
mkdir -p build
 | 
			
		||||
cd build
 | 
			
		||||
cmake -DCMAKE_BUILD_TYPE=Debug -DCMAKE_INSTALL_PREFIX=$INSTALL_ROOT .. \
 | 
			
		||||
cmake -DCMAKE_BUILD_TYPE=Debug .. \
 | 
			
		||||
	-DLIBGIT2_INCLUDE_DIR=$INSTALL_ROOT/include \
 | 
			
		||||
	-DLIBGIT2_LIBRARIES=$INSTALL_ROOT/lib/libgit2.$SH_LIB_EXT \
 | 
			
		||||
	-DLIBDIVECOMPUTER_INCLUDE_DIR=$INSTALL_ROOT/include \
 | 
			
		||||
| 
						 | 
				
			
			@ -215,4 +215,7 @@ if [ $PLATFORM = Darwin ] ; then
 | 
			
		|||
fi
 | 
			
		||||
 | 
			
		||||
LIBRARY_PATH=$INSTALL_ROOT/lib make -j4
 | 
			
		||||
LIBRARY_PATH=$INSTALL_ROOT/lib make install
 | 
			
		||||
 | 
			
		||||
if [ $PLATFORM = Darwin ] ; then
 | 
			
		||||
	LIBRARY_PATH=$INSTALL_ROOT/lib make install
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue