Added install target to cmake.

This commit is contained in:
Matthew Budd 2020-06-20 00:53:18 -04:00
parent 9a30cce921
commit 70a77cbe41
2 changed files with 5 additions and 1 deletions

View File

@ -87,10 +87,11 @@ echo "Num CPU: `nproc`";
mkdir build; cd build;
cmake \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=$INSTALL_PREFIX/usr \
-DCMAKE_VERBOSE_MAKEFILE:BOOL=ON \
..
make -j `nproc`
#DESTDIR=$INSTALL_PREFIX make -j `nproc` install
make install
# Debug via ssh if necessary
if [ ! -z $APPVEYOR_SSH_BLOCK ]; then

View File

@ -352,3 +352,6 @@ target_link_libraries( fceux
${LUA_LDFLAGS}
${SYS_LIBS}
)
install( TARGETS fceux
RUNTIME bin )