mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fixes cmake-gui causing RUN_IN_PLACE to be always off
This commit is contained in:
		@@ -28,6 +28,13 @@ else()
 | 
			
		||||
	set(RUN_IN_PLACE 0 CACHE BOOL "Run directly in source directory structure")
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
# RUN_IN_PLACE is exported as a #define value, ensure it's 1/0 instead of ON/OFF
 | 
			
		||||
if(RUN_IN_PLACE)
 | 
			
		||||
	set(RUN_IN_PLACE 1)
 | 
			
		||||
else()
 | 
			
		||||
	set(RUN_IN_PLACE 0)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
set(BUILD_CLIENT 1 CACHE BOOL "Build client")
 | 
			
		||||
if(WIN32)
 | 
			
		||||
	set(BUILD_SERVER 0 CACHE BOOL "Build server")
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user