CMake: Suppress warning messages when Fcitx is not found
This commit is contained in:
		@@ -77,10 +77,13 @@ if (UNIX)
 | 
			
		||||
endif (UNIX)
 | 
			
		||||
 | 
			
		||||
if(UNIX AND NOT APPLE)
 | 
			
		||||
    find_package(Fcitx)
 | 
			
		||||
    find_package(Fcitx QUIET)
 | 
			
		||||
    if (Fcitx_FOUND)
 | 
			
		||||
        message(STATUS "Found: Fcitx: ${Fcitx_VERSION}")
 | 
			
		||||
        find_package(DBus1)
 | 
			
		||||
        find_package(X11)
 | 
			
		||||
    else(Fcitx_FOUND)
 | 
			
		||||
        message(STATUS "Could not find Fcitx (Fcitx is OPTIONAL)")
 | 
			
		||||
    endif(Fcitx_FOUND)
 | 
			
		||||
endif()
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user