Skip to content

Commit

Permalink
jana_config.h: Handle case of no XercesC correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanwbrei committed May 28, 2024
1 parent 85e2499 commit 3ca88f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmake/MakeConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,9 @@ else()
get_filename_component(XERCESCROOT "${XercesC_INCLUDE_DIRS}" DIRECTORY)
set(XERCES_CPPFLAGS "-I${XercesC_INCLUDE_DIRS} -I${XercesC_INCLUDE_DIRS}/xercesc")
set(XERCES_LIBS "${XercesC_LIBRARIES}")
else()
set(JANA2_HAVE_XERCES 0)
set(XERCES3 0)
endif()
endif()

Expand Down

0 comments on commit 3ca88f5

Please sign in to comment.