Skip to content

Commit

Permalink
Merge c49b719 into 2a0a380
Browse files Browse the repository at this point in the history
  • Loading branch information
sgenie68 committed Oct 11, 2018
2 parents 2a0a380 + c49b719 commit 993a976
Showing 1 changed file with 12 additions and 4 deletions.
16 changes: 12 additions & 4 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -83,11 +83,19 @@ option(PRINT_CONFIG_SUMMARY "Show a summary of the configuration." TRUE)
set(PACKAGE_CONFIG_DIR "cmake" CACHE STRING "Directory for package config files (relative to CMAKE_INSTALL_PREFIX)")

# Handle instrumentation choices.
set(IRON_INSTRUMENTATION "none" CACHE STRING "Specify the instrumentation to use.")
if (DEFINED FE_INSTRUMENTATION)
set(IRON_INSTRUMENTATION "${FE_INSTRUMENTATION}" CACHE STRING "Specify the instrumentation to use.")
set(${OC_INSTRUMENTATION} ${${OC_INSTRUMENTATION}} PARENT_SCOPE)
set(IRON_INSTRUMENTATION ${OC_INSTRUMENTATION})

if(NOT DEFINED OC_INSTRUMENTATION)
set(IRON_INSTRUMENTATION "none" CACHE STRING "Specify the instrumentation to use.")
if (DEFINED FE_INSTRUMENTATION)
set(IRON_INSTRUMENTATION "${FE_INSTRUMENTATION}" CACHE STRING "Specify the instrumentation to use.")
endif ()
set(OC_INSTRUMENTATION ${IRON_INSTRUMENTATION})
endif ()
set(OPENCMISS_INSTRUMENTATION ${IRON_INSTRUMENTATION})


message(STATUS "Iron::Instrumentation: ${OC_INSTRUMENTATION}")

# Bindings options
find_program(VIRTUALENV_EXEC virtualenv)
Expand Down

0 comments on commit 993a976

Please sign in to comment.