Skip to content

Commit

Permalink
feat: add with_dataframes var
Browse files Browse the repository at this point in the history
  • Loading branch information
c-dilks committed Apr 17, 2024
1 parent 4c8325b commit 3f61525
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ list(APPEND PKGCONFIG_LIBS hipo4)

# build extensions
option(BUILD_DATAFRAMES "Build dataframes extension" ON)
set(WITH_DATAFRAMES FALSE)
if(BUILD_DATAFRAMES)
set(DATAFRAME_IN_MAIN TRUE)
add_subdirectory(extensions/dataframes)
Expand Down
2 changes: 2 additions & 0 deletions cmake/hipo4.pc.in
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ prefix=${pcfiledir}/../..
includedir=${prefix}/include
libdir=${prefix}/lib

with_dataframes=@WITH_DATAFRAMES@

Name: hipo4
Description: High Performance Output data format for experimental physics
Version: @HIPO_VERSION@
Expand Down
1 change: 1 addition & 0 deletions extensions/dataframes/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -134,4 +134,5 @@ else()

list(APPEND PKGCONFIG_LIBS HipoDataFrame)
set(PKGCONFIG_LIBS ${PKGCONFIG_LIBS} PARENT_SCOPE)
set(WITH_DATAFRAMES TRUE PARENT_SCOPE)
endif()

0 comments on commit 3f61525

Please sign in to comment.