Skip to content

Commit

Permalink
Resolved JANA/jana-config.h not found error in JGeometryXML.h by modi…
Browse files Browse the repository at this point in the history
…fying MakeConfig.cmake
  • Loading branch information
RaiqaRasool authored and nathanwbrei committed May 28, 2024
1 parent 3bd580b commit 55d914d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,10 @@ Makefile
build/
cmake-build-debug/
install/
bin/
include/
lib/
programs/

# Doxygen generated files
docs/html/*
Expand Down
4 changes: 2 additions & 2 deletions cmake/MakeConfig.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -141,11 +141,11 @@ endif()
set(HAVE_NUMA 0)

configure_file(scripts/jana-config.in jana-config @ONLY)
configure_file(scripts/jana_config.h.in jana_config.h @ONLY)
configure_file(scripts/jana_config.h.in src/libraries/JANA/jana_config.h @ONLY)
configure_file(scripts/jana-this.sh.in jana-this.sh @ONLY)
configure_file(scripts/jana-this.csh.in jana-this.csh @ONLY)

install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-config DESTINATION bin)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana_config.h DESTINATION include/JANA)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/src/libraries/JANA/jana_config.h DESTINATION include/JANA)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-this.sh DESTINATION bin)
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/jana-this.csh DESTINATION bin)
2 changes: 1 addition & 1 deletion src/libraries/JANA/Compatibility/JGeometryXML.h
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#include <JANA/Compatibility/JGeometry.h>
#include <JANA/Compatibility/JStreamLog.h>
#include <JANA/Calibrations/JCalibration.h>
//#include <JANA/jana_config.h>
#include <JANA/jana_config.h>

#include <JANA/Compatibility/md5.h>

Expand Down

0 comments on commit 55d914d

Please sign in to comment.