Skip to content

Commit

Permalink
fix log4cpp detection
Browse files Browse the repository at this point in the history
  • Loading branch information
mpromonet committed Mar 2, 2019
1 parent 3c0dd01 commit 368a5af
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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,)
Expand Down

0 comments on commit 368a5af

Please sign in to comment.