| 1 |
# - Config file for the cgreen package |
| 2 |
# It defines the following variables |
| 3 |
# CGREEN_CMAKE_DIR - include directories for cgreen |
| 4 |
# CGREEN_INCLUDE_DIRS - include directories for cgreen |
| 5 |
# CGREEN_LIBRARIES - libraries to link against |
| 6 |
# CGREEN_EXECUTABLE - the cgreen executable |
| 7 |
|
| 8 |
get_filename_component( CGREEN_CMAKE_DIRS "${CMAKE_CURRENT_LIST_FILE}" PATH ) |
| 9 |
|
| 10 |
# leave this up to cmake |
| 11 |
find_path(CGREEN_INCLUDE_DIRS NAMES cgreen/cgreen.h) |
| 12 |
|
| 13 |
set( CGREEN_LIBRARIES cgreen ) |
| 14 |
set( CGREEN_EXECUTABLE cgreen-runner ) |
| 15 |
|