24 lines
		
	
	
		
			792 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			792 B
		
	
	
	
		
			CMake
		
	
	
	
	
	
 | 
						|
add_subdirectory(sqlite3/sqlite-3430000)
 | 
						|
add_subdirectory(goahead-5.2.0)
 | 
						|
 | 
						|
# ================= httpserver ================= #
 | 
						|
find_program(M4 m4)
 | 
						|
if(NOT M4)
 | 
						|
  message("m4 not found. Install before continuing.")
 | 
						|
  execute_process(COMMAND sudo apt-get install m4
 | 
						|
                  WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH}/gtest/)
 | 
						|
endif()
 | 
						|
find_program(RAGEL ragel)
 | 
						|
if(NOT RAGEL)
 | 
						|
  message(FATAL_ERROR "ragel not found. Install before continuing.")
 | 
						|
  execute_process(COMMAND sudo apt-get install ragel
 | 
						|
                  WORKING_DIRECTORY ${EXTERNAL_SOURCE_PATH}/gtest/)
 | 
						|
endif()
 | 
						|
add_subdirectory(httpserver.h-master/src)
 | 
						|
# ================= httpserver end ================= #
 | 
						|
 | 
						|
add_subdirectory(cJSON-1.7.17)
 | 
						|
add_subdirectory(libhv/libhv-1.3.2)
 | 
						|
add_subdirectory(ffmpeg)
 | 
						|
add_subdirectory(libconfig) |