Project

General

Profile

Feature #1022

Cmake should exit when a library is not found and the library was explicitly requested by the user

Added by Pieter Libin about 10 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Target version:
-
Start date:
10/12/2011
Due date:
% Done:

0%

Estimated time:

Description

Cmake should exit when a library is not found and the library was explicitly requested by the user.

The user can explicitly request a library by providing the ENABLE_${LIB} to cmake:

eg: cmake ../ -DENABLE_PANGO=ON

If pango was not found, a message will be shown, but cmake will not be exited with a failure.

Exiting with a failure is probably a better approach.

No data to display

Also available in: Atom PDF