Pass the CLING_VERSION as compiler flag

This commit is contained in:
Bertrand Bellenot 2014-05-13 15:35:19 +02:00 committed by sftnight
parent 575bf01e31
commit 709f085345

View File

@ -181,12 +181,12 @@ install(DIRECTORY ${CMAKE_CURRENT_BINARY_DIR}/include/
PATTERN "*.inc"
)
add_definitions( -D_GNU_SOURCE
-DCLING_INCLUDE_PATHS="${CLING_SOURCE_DIR}/include:${CLING_BINARY_DIR}/include" )
# Determine cling's version:
file (STRINGS "VERSION" CLING_VERSION)
add_definitions( -D_GNU_SOURCE -DCLING_VERSION="${CLING_VERSION}"
-DCLING_INCLUDE_PATHS="${CLING_SOURCE_DIR}/include:${CLING_BINARY_DIR}/include" )
add_subdirectory(lib)
add_subdirectory(tools)