mirror of
https://github.com/nextcloud/desktop.git
synced 2025-10-26 11:17:43 +00:00
CMake: Fix building without Log4C.
This commit is contained in:
parent
79c4b58c63
commit
668d7be259
@ -40,6 +40,9 @@ include(MacroAddPlugin)
|
||||
include(MacroCopyFile)
|
||||
|
||||
find_package(Log4C)
|
||||
if(NOT LOG4C_FOUND)
|
||||
set(WITH_LOG4C FALSE)
|
||||
endif()
|
||||
|
||||
include(ConfigureChecks.cmake)
|
||||
configure_file(config.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config.h)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user