Skip to content

Commit a08d607

Browse files
author
bhgomes
committed
fix setup
1 parent 8a2c502 commit a08d607

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -87,5 +87,5 @@ target_include_directories(simulation PUBLIC
8787
$<BUILD_INTERFACE:${CMAKE_SOURCE_DIR}/include>
8888
$<INSTALL_INTERFACE:${CMAKE_SOURCE_DIR}/include>)
8989

90-
install(DIRECTORY scripts DESTINATION bin)
91-
install(TARGETS simulation DESTINATION bin)
90+
install(DIRECTORY scripts DESTINATION bin/MATHUSLA)
91+
install(TARGETS simulation DESTINATION bin/MATHUSLA)

install

+2-1
Original file line numberDiff line numberDiff line change
@@ -49,10 +49,11 @@ fi
4949
mkdir -p build
5050
cd build
5151

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

5555
make -j8
56+
make install -j8
5657

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

0 commit comments

Comments
 (0)