Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
bakwc opened this issue Aug 10, 2021 · 2 comments
Open

Comments

@bakwc
Copy link

bakwc commented Aug 10, 2021

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
@catid
Copy link
Owner

catid commented Aug 12, 2021

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

@bakwc
Copy link
Author

bakwc commented Aug 12, 2021

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants