mirror of
https://github.com/mpromonet/v4l2rtspserver
synced 2024-11-17 21:25:40 +00:00
fix log4cpp detection
This commit is contained in:
parent
3c0dd01a7b
commit
368a5afeb0
@ -57,9 +57,9 @@ endif()
|
||||
|
||||
# LOG4CPP
|
||||
find_package(log4cpp QUIET)
|
||||
if (LOG4CPP_LIBRARY)
|
||||
message(STATUS "Log4Cpp available")
|
||||
add_definitions(-DHAVE_LOG4CPP)
|
||||
include_directories(${LOG4CPP_INCLUDE_DIR})
|
||||
target_link_libraries(${PROJECT_NAME} "${LOG4CPP_LIBRARY}")
|
||||
|
||||
SET(CPACK_DEBIAN_PACKAGE_DEPENDS ${CPACK_DEBIAN_PACKAGE_DEPENDS}liblog4cpp5-dev,)
|
||||
|
Loading…
Reference in New Issue
Block a user