mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-11-03 21:25:56 +01:00 
			
		
		
		
	Better integration into base/json.cpp Signed-off-by: Alexander A. Klimov <alexander.klimov@icinga.com>
		
			
				
	
	
		
			10 lines
		
	
	
		
			273 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			273 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
FIND_PATH (JSON_INCLUDE json.hpp HINTS "${PROJECT_SOURCE_DIR}/third-party/nlohmann_json")
 | 
						|
 | 
						|
if (JSON_INCLUDE)
 | 
						|
  set(JSON_BuildTests OFF CACHE INTERNAL "")
 | 
						|
 | 
						|
  message(STATUS "Found JSON: ${JSON_INCLUDE}" )
 | 
						|
else ()
 | 
						|
  message(FATAL_ERROR "Unable to include json.hpp")
 | 
						|
endif ()
 |