--- k8vavoom-git-79ffef1a4.old/source/CMakeLists.txt +++ k8vavoom-git-79ffef1a4/source/CMakeLists.txt @@ -872,7 +872,7 @@ "#!/bin/sh # Needed to make symlinks/shortcuts work. # the binaries must run with correct working directory -exec \"${CMAKE_INSTALL_PREFIX}/${BINDIR}/k8vavoom.bin\" \"\$\@\" -basedir \"${CMAKE_INSTALL_PREFIX}/${DATADIR}\" ${IWADDIR} +exec \"${CMAKE_INSTALL_PREFIX}/${BINDIR}/k8vavoom.bin\" \"\$\@\" -basedir \"${CMAKE_INSTALL_PREFIX}/${DATADIR}\" -iwaddir ${IWADDIR} ") install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/k8vavoom DESTINATION ${BINDIR}) endif(ENABLE_WRAPPERS)