Skip to content

Commit

Permalink
fix setup
Browse files Browse the repository at this point in the history
  • Loading branch information
bhgomes committed Jan 25, 2019
1 parent 8a2c502 commit a08d607
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -87,5 +87,5 @@ target_include_directories(simulation PUBLIC
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
$<INSTALL_INTERFACE:${CMAKE_SOURCE_DIR}/include>)

install(DIRECTORY scripts DESTINATION bin)
install(TARGETS simulation DESTINATION bin)
install(DIRECTORY scripts DESTINATION bin/MATHUSLA)
install(TARGETS simulation DESTINATION bin/MATHUSLA)
3 changes: 2 additions & 1 deletion install
Original file line number Diff line number Diff line change
Expand Up @@ -49,10 +49,11 @@ fi
mkdir -p build
cd build

if [[ "$CONFIG_CMAKE" -eq 1 ]]; then cmake ..; fi;
if [[ "$CONFIG_CMAKE" -eq 1 ]]; then cmake -DCMAKE_INSTALL_PREFIX=../.temp/sim-install/ ..; fi;
if [[ "$CLEAN_BUILD" -eq 1 ]]; then make clean; fi;

make -j8
make install -j8

if [[ ! "$?" -eq 0 ]]; then
echo -e "\nBuild Failed!\n"
Expand Down

0 comments on commit a08d607

Please sign in to comment.