mirror of
				https://github.com/Icinga/icinga2.git
				synced 2025-10-27 01:03:50 +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 ()
 |