Skip to content
Snippets Groups Projects
Commit f19d7d80 authored by Jason Hiser's avatar Jason Hiser :tractor:
Browse files

Merge branch 'fix-cmake' into 'master'

fix cmake build without elfio

See merge request !4
parents 2991595b 8d4e70b4
No related branches found
No related tags found
1 merge request!4fix cmake build without elfio
......@@ -13,8 +13,10 @@ set(CMAKE_LIBRARY_OUTPUT_DIRECTORY ${CMAKE_BINARY_DIR}/lib)
option(USE_ELFIO "Use the elfio library to parse elf files" OFF)
if(USE_ELFIO)
add_definitions(-DUSE_ELFIO)
add_definitions(-DUSE_ELFIO=1)
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/elfio-code/)
else()
add_definitions(-DUSE_ELFIO=0)
endif()
# Use C++17
......@@ -44,4 +46,4 @@ file(
)
"
)
export(PACKAGE ehp)
\ No newline at end of file
export(PACKAGE ehp)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment