aboutsummaryrefslogtreecommitdiff
path: root/Source/Particles/Collision/BinaryCollision/ParticleCreationFunc.cpp
diff options
context:
space:
mode:
authorGravatar Axel Huebl <axel.huebl@plasma.ninja> 2021-09-30 10:05:57 -0700
committerGravatar GitHub <noreply@github.com> 2021-09-30 10:05:57 -0700
commitdc3453a0839f5053df8f0ac127c1c1858102dbcb (patch)
treec18adbdbb0e144b3297d76de7f4135bf9c8b6e73 /Source/Particles/Collision/BinaryCollision/ParticleCreationFunc.cpp
parent5582897a2ef159b36c9fd72fda1dc5fd4a2098a1 (diff)
downloadWarpX-dc3453a0839f5053df8f0ac127c1c1858102dbcb.tar.gz
WarpX-dc3453a0839f5053df8f0ac127c1c1858102dbcb.tar.zst
WarpX-dc3453a0839f5053df8f0ac127c1c1858102dbcb.zip
CMake: More Robust git STRIP (#2358)
Sometimes a `git` executable can be found but is unusable. Quoting the result for empty strings makes the build logic more robust in such scenarios. Mitigates: ``` CMake Error at cmake/WarpXFunctions.cmake:289 (string): string sub-command STRIP requires two arguments. Call Stack (most recent call first): CMakeLists.txt:256 (get_source_version) ``` Provoked via: Mixing of brew and Spack (git from brew + Spack env with `export DYLD_LIBRARY_PATH=/Users/axel/src/spack/var/spack/environments/warpx-dev/.spack-env/view/lib`)
Diffstat (limited to 'Source/Particles/Collision/BinaryCollision/ParticleCreationFunc.cpp')
0 files changed, 0 insertions, 0 deletions