Closed nvllsvm closed 7 years ago
OS: Arch Linux CMake: 3.8.0
When building the engine component, CMAKE_CURRENT_BINARY_DIR is used to set the source path of the doom64ex binary for install. However, the doom64ex binary actually is placed in the project root when building. Thus, trying to install gives this:
CMAKE_CURRENT_BINARY_DIR
doom64ex
Install the project... -- Install configuration: "" -- Installing: /usr/local/share/games/doom64ex/doom64ex.pk3 CMake Error at src/engine/cmake_install.cmake:36 (file): file INSTALL cannot find "/home/draje/Code/GitHub/nvllsvm/Doom64EX/src/engine/doom64ex". Call Stack (most recent call first): cmake_install.cmake:41 (include) make: *** [Makefile:108: install] Error 1
It should be installing from /home/draje/Code/GitHub/nvllsvm/Doom64EX/doom64ex.
/home/draje/Code/GitHub/nvllsvm/Doom64EX/doom64ex
Using CMAKE_BINARY_DIR fixes this.
CMAKE_BINARY_DIR
Thanks
OS: Arch Linux CMake: 3.8.0
When building the engine component,
CMAKE_CURRENT_BINARY_DIR
is used to set the source path of thedoom64ex
binary for install. However, thedoom64ex
binary actually is placed in the project root when building. Thus, trying to install gives this:It should be installing from
/home/draje/Code/GitHub/nvllsvm/Doom64EX/doom64ex
.Using
CMAKE_BINARY_DIR
fixes this.