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

cmake install TARGETS given no ARCHIVE DESTINATIOn for static library target "cppzmq" #121

Closed
egberts opened this issue Apr 14, 2017 · 4 comments

Comments

@egberts
Copy link

egberts commented Apr 14, 2017

From the master (0feae8c) , and using cmake v2.8.12.2 on CentOS 6.9, I clone and immediately did:

cmake .

and get the following error message:

--cppzmq v4.2.3
CMake Error at CMakeLists.txt:30 (install):
  install TARGETS given no ARCHIVE DESTINATION for static library target "cppzmq".


-- Configuring incomplete, errors occurred!

No idea how to fix that. Stackoverflow wasn't helpful there either.

@matthewOConnell
Copy link

Having this same issue on CentOS 6.9. Ran it through a git bisect. Looks like it was broken with aa850e7

@bluca
Copy link
Member

bluca commented May 12, 2017

@stefanherbrechtsmeier could you please have a look?

@herbrechtsmeier
Copy link

The CMake version 2.8.12 don't support INTERFACE libraries. If the version is below 3.0 we have to avoid this feature and act different inside the CMake files.

@ax3l
Copy link
Contributor

ax3l commented Jul 19, 2017

We should just push the cmake_minimum_required(VERSION 2.8.12) line then to 3.0.0 to reflect that.

@bluca bluca closed this as completed in d1568bf Jul 20, 2017
@ax3l ax3l mentioned this issue Jul 31, 2017
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

5 participants