mirror of
				https://github.com/Xahau/xahaud.git
				synced 2025-11-04 02:35:48 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			19 lines
		
	
	
		
			606 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			19 lines
		
	
	
		
			606 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
#[===================================================================[
 | 
						|
   NIH dep: date
 | 
						|
 | 
						|
   the main library is header-only, thus is an INTERFACE lib in CMake.
 | 
						|
 | 
						|
   NOTE: this has been accepted into c++20 so can likely be replaced
 | 
						|
   when we update to that standard
 | 
						|
#]===================================================================]
 | 
						|
 | 
						|
find_package (date QUIET)
 | 
						|
if (NOT TARGET date::date)
 | 
						|
  FetchContent_Declare(
 | 
						|
    hh_date_src
 | 
						|
    GIT_REPOSITORY https://github.com/HowardHinnant/date.git
 | 
						|
    GIT_TAG        fc4cf092f9674f2670fb9177edcdee870399b829
 | 
						|
  )
 | 
						|
  FetchContent_MakeAvailable(hh_date_src)
 | 
						|
endif ()
 |