I have been encountering the following error when using NEST with a Geant4 simulation:
CMake Error in CMakeLists.txt:
Imported target "NEST::NESTG4" includes non-existent path
"/Users/noah-everett/Applications/nest-2.3.12_src/G4integration/G4integration/"
in its INTERFACE_INCLUDE_DIRECTORIES. Possible reasons include:
* The path was deleted, renamed, or moved to another location.
* An install or uninstall procedure did not complete successfully.
* The installation package was faulty and references files it does not
provide.
I believe this is due to the following line in G4integration/CMakeLists.txt: $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/G4integration/>. The issue can be solved by simply removing G4integration/ from the line. I am unsure if this effects anything else for other people.
Hello,
I have been encountering the following error when using NEST with a Geant4 simulation:
I believe this is due to the following line in G4integration/CMakeLists.txt:
$<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/G4integration/>
. The issue can be solved by simply removingG4integration/
from the line. I am unsure if this effects anything else for other people.Hope this is useful!