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

Fix cmake error on Linux "no LIBRARY DESTINATION" #18

Merged
merged 1 commit into from
May 1, 2019

Conversation

ArthurSonzogni
Copy link
Contributor

On Linux, cmake gives the error:

CMake Error at CMakeLists.txt:79 (INSTALL):
INSTALL TARGETS given no LIBRARY DESTINATION for shared library target
"libglew_shared".

CMake Error at CMakeLists.txt:94 (INSTALL):
INSTALL TARGETS given no LIBRARY DESTINATION for shared library target
"libglewmx_shared".

-- Configuring incomplete, errors occurred!

This bug was caused by the merge:
e4de8a7

Containing:

  • Update library install directories in Cmake
    commit 5a7232f

  • Install directories set in single statement
    commit def19e7

The cause is that RUNTIME DESTINATION is now defined (for Windows), but
not LIBRARY DESTINATION (for Linux).

See issue:
#17

On Linux, cmake gives the error:
~~~bash
CMake Error at CMakeLists.txt:79 (INSTALL):
INSTALL TARGETS given no LIBRARY DESTINATION for shared library target
"libglew_shared".

CMake Error at CMakeLists.txt:94 (INSTALL):
INSTALL TARGETS given no LIBRARY DESTINATION for shared library target
"libglewmx_shared".

-- Configuring incomplete, errors occurred!
~~~

This bug was caused by the merge:
e4de8a7

Containing:
* Update library install directories in Cmake
  commit 5a7232f

* Install directories set in single statement
  commit def19e7

The cause is that RUNTIME DESTINATION is now defined (for Windows), but
not LIBRARY DESTINATION (for Linux).

See issue: Perlmint#17
@Perlmint
Copy link
Owner

Perlmint commented May 1, 2019

I really appreciate you posted this PR quickly.
Thanks!

@Perlmint Perlmint merged commit c14a7a1 into Perlmint:master May 1, 2019
@ArthurSonzogni
Copy link
Contributor Author

Thanks for your review!

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

Successfully merging this pull request may close these issues.

2 participants