Commit 678c92c5 authored by Florent Lamiraux's avatar Florent Lamiraux
Browse files

Add a cache variable to trigger logging machinery.

parent 764a847f
......@@ -27,6 +27,12 @@ SET(CXX_DISABLE_WERROR 1)
SETUP_PROJECT()
# Activate logging machinery if requested
SET (HPP_DEBUG FALSE CACHE BOOL "trigger hpp-util debug output")
IF (HPP_DEBUG)
SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -DHPP_DEBUG")
ENDIF()
PKG_CONFIG_APPEND_LIBS("hpp-util")
# Search for Boost.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment