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: Inform user about missing libraries #916

Closed
sideeffect42 opened this issue Feb 25, 2017 · 1 comment

Comments

@sideeffect42
Copy link

commented Feb 25, 2017

When compiling WeeChat with CMake it may silently disable explicitly enabled options when dependencies are missing.

E.g. when ENABLE_PERL=ON is set, but libperl-dev is not installed, WeeChat will silently not compile the perl target.

Instead there should be a warning or error, so that the user can take action (install dependencies or disable options)

@flashcode

This comment has been minimized.

Copy link
Member

commented Aug 31, 2019

It will be closed when #956 will be merged.

@flashcode flashcode added this to the 2.7 milestone Aug 31, 2019

@flashcode flashcode self-assigned this Aug 31, 2019

@flashcode flashcode closed this in bff40e4 Sep 15, 2019

@flashcode flashcode removed the in progress label Sep 15, 2019

flashcode added a commit that referenced this issue Sep 15, 2019
core: remove obsolete file FindTCL.cmake (issue #916, issue #956)
This is file is provided by CMake and is not needed any more.  Moreover, it
causes an error on FreeBSD (TCL not found), even if TCL was properly detected
and used during the build.
flashcode added a commit that referenced this issue Sep 16, 2019
debian: fix build of packages on Debian Jessie (issue #916, issue #956)
With the new errors on missing libraries in CMake, the PHP plugin must be
explicitly disabled.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.