# Copyright (c) 2009 Maciej Brodowicz
#
# Distributed under the Boost Software License, Version 1.0. (See accompanying 
# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)

include_directories(${COMM_SOURCE_DIR})

### executable applications
# simple standalone power monitor
if(Boost_FOUND)
  message(STATUS "Adding powermon to build targets")
  add_executable(powermon powermon)
  target_link_libraries(powermon comm m rt boost_program_options boost_thread)
else()
  message(STATUS "Warning: powermon cannot be built")
endif()
