Skip to content

cmake install fails #30

@ajasmin

Description

@ajasmin

Running cmake and make install fails with file INSTALL given no DESTINATION

root@c9bbfcb93f67:/static_math# cmake --version
cmake version 3.22.1

CMake suite maintained and supported by Kitware (kitware.com/cmake).
root@c9bbfcb93f67:/static_math# cmake .
-- The CXX compiler identification is GNU 11.2.0
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++ - skipped
-- Detecting CXX compile features
-- Detecting CXX compile features - done
-- Configuring done
-- Generating done
-- Build files have been written to: /static_math
root@c9bbfcb93f67:/static_math# make install
[  6%] Building CXX object CMakeFiles/test-vector.dir/test/vector.cpp.o
[ 12%] Linking CXX executable test-vector
[ 12%] Built target test-vector
[ 18%] Building CXX object CMakeFiles/test-bit.dir/test/bit.cpp.o
[ 25%] Linking CXX executable test-bit
[ 25%] Built target test-bit
[ 31%] Building CXX object CMakeFiles/test-cmath.dir/test/cmath.cpp.o
[ 37%] Linking CXX executable test-cmath
[ 37%] Built target test-cmath
[ 43%] Building CXX object CMakeFiles/test-complex.dir/test/complex.cpp.o
[ 50%] Linking CXX executable test-complex
[ 50%] Built target test-complex
[ 56%] Building CXX object CMakeFiles/test-constant.dir/test/constant.cpp.o
[ 62%] Linking CXX executable test-constant
[ 62%] Built target test-constant
[ 68%] Building CXX object CMakeFiles/test-formula.dir/test/formula.cpp.o
[ 75%] Linking CXX executable test-formula
[ 75%] Built target test-formula
[ 81%] Building CXX object CMakeFiles/test-rational.dir/test/rational.cpp.o
[ 87%] Linking CXX executable test-rational
[ 87%] Built target test-rational
[ 93%] Building CXX object CMakeFiles/test-trigonometry.dir/test/trigonometry.cpp.o
[100%] Linking CXX executable test-trigonometry
[100%] Built target test-trigonometry
[100%] Built target all_tests
Install the project...
-- Install configuration: ""
CMake Error at cmake_install.cmake:46 (file):
  file INSTALL given no DESTINATION


make: *** [Makefile:110: install] Error 1

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions