Pass the CLING_VERSION as compiler flag
This commit is contained in:
parent
575bf01e31
commit
709f085345
@ -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)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user