Skip to content

Commit

Permalink
Dropping pythia source/include if not found on system
Browse files Browse the repository at this point in the history
  • Loading branch information
forthommel committed Apr 21, 2021
1 parent 4a93d4a commit 079e6b1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ if(PYTHIA8)
else()
list(APPEND HECTOR_DEPENDENCIES lhapdfdummy)
endif()
else()
list(REMOVE_ITEM LIB_SRC ${HECTOR_SOURCE_DIR}/IO/Pythia8Generator.cc)
list(REMOVE_ITEM HECTOR_INCLUDES ${PROJECT_SOURCE_DIR}/Hector/IO/Pythia8Generator.h)
endif()

# do not forget to retrieve
Expand Down
1 change: 1 addition & 0 deletions src/Utils/ArgsParser.cc
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
#include <algorithm>
#include <cstring>
#include <iostream>
#include <stdexcept>

namespace hector {
ArgsParser::ArgsParser(int argc,
Expand Down

0 comments on commit 079e6b1

Please sign in to comment.