I am using an up to date Debian 10 with cmake 3.13.4-1 and when I do a cmake . I get the following error:
-- The C compiler identification is GNU 8.3.0
-- The CXX compiler identification is GNU 8.3.0
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at CMakeLists.txt:72 (install):
install TARGETS given no RUNTIME DESTINATION for executable target
"lsdpack".
-- Configuring incomplete, errors occurred!
See also "/home/user/code/gbdev/clockboy/lsdpack/CMakeFiles/CMakeOutput.log".
The log file is not very helpful, I'm including it just in case. CMakeOutput.log
The behaviour is the same if I specify an output directory.
I am using an up to date Debian 10 with cmake 3.13.4-1 and when I do a
cmake .
I get the following error:The log file is not very helpful, I'm including it just in case. CMakeOutput.log
The behaviour is the same if I specify an output directory.
I fixed this problem with the following patch:
This fixes the problem on my Debian, but I didn't test it on Windows or with earlier cmake versions.