Skip to content

install TARGETS given no ARCHIVE DESTINATION for static library target #11

Open

Description

@bakwc

When building with old cmake - I have following error:

fippo@nanopim4:~/koding/cm256/build$ cmake ..
-- 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:47 (install):
  install TARGETS given no ARCHIVE DESTINATION for static library target
  "cm256".


-- Configuring incomplete, errors occurred!
See also "/home/fippo/koding/cm256/build/CMakeFiles/CMakeOutput.log".
fippo@nanopim4:~/koding/cm256/build$ cmake --version
cmake version 3.13.4

Activity

  1. catid commented on Aug 12, 2021

    @catid
    Owner

    You can probably just remove the ARCHIVE line from the CMakeLists.txt

  2. bakwc commented on Aug 12, 2021

    @bakwc
    Author

    Did is a workaround. Still will be good somehow to fix CMakeLists.txt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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