Commit 05bc16a3 authored by Utkarsh Ayachit's avatar Utkarsh Ayachit
Browse files

Adios was not getting enabled in ConfigurableAnalysis.

Fixed that.
parent 22322ce7
...@@ -63,6 +63,7 @@ endif() ...@@ -63,6 +63,7 @@ endif()
if(ENABLE_ADIOS) if(ENABLE_ADIOS)
target_link_libraries(sensei PRIVATE adios) target_link_libraries(sensei PRIVATE adios)
target_compile_definitions(sensei PUBLIC ENABLE_ADIOS)
endif() endif()
target_link_libraries(sensei target_link_libraries(sensei
......
...@@ -11,7 +11,6 @@ target_include_directories(adios ...@@ -11,7 +11,6 @@ target_include_directories(adios
SYSTEM PRIVATE ${ADIOS_INCLUDE_DIRS} SYSTEM PRIVATE ${ADIOS_INCLUDE_DIRS}
INTERFACE ${CMAKE_CURRENT_SOURCE_DIR}) INTERFACE ${CMAKE_CURRENT_SOURCE_DIR})
target_link_libraries(adios PRIVATE ${ADIOS_LIBRARIES} PUBLIC core PRIVATE mpi) target_link_libraries(adios PRIVATE ${ADIOS_LIBRARIES} PUBLIC core PRIVATE mpi)
target_compile_definitions(adios INTERFACE ENABLE_ADIOS)
if(ADIOS_DEFINITIONS) if(ADIOS_DEFINITIONS)
target_compile_definitions(adios PRIVATE ${ADIOS_DEFINITIONS}) target_compile_definitions(adios PRIVATE ${ADIOS_DEFINITIONS})
endif() endif()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment