diff --git a/pipelines/linux_build.sh b/pipelines/linux_build.sh index e48bacb1..f4a979ab 100755 --- a/pipelines/linux_build.sh +++ b/pipelines/linux_build.sh @@ -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 diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index fb877146..46c677c6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -352,3 +352,6 @@ target_link_libraries( fceux ${LUA_LDFLAGS} ${SYS_LIBS} ) + +install( TARGETS fceux + RUNTIME bin )