dawn_export_packageΒΆ

Export a package by defining variable for its libraries, include directories, definition and version.

dawn_export_package(NAME FOUND [LIBRARIES] [INCLUDE_DIRS] 
                       [DEFINITIONS] [VERSION] [EXECUTABLE])
NAME
Name of the package.
FOUND
True if the package was found.
LIBRAREIS
List of libraries to link against (optional).
INCLUDE_DIRS
List of include directories required by this package (optional).
DEFINITIONS
List of definitions required by the package (optional).
EXECUTABLE
Exectuable of the package (optional).
VERSION
Version of the package (optional).

The following variables are defined:

DAWN_<NAME>_FOUND
True if package was found.
DAWN_<NAME>_LIBRARIES
Libraries of the package to link against.
DAWN_<NAME>_INCLUDE_DIRS
Include directories required by this package.
DAWN_<NAME>_DEFINITIONS
Definitions required by the package.
DAWN_<NAME>EXECUTABLE
Executable of the package.
DAWN_<NAME>_VERSION
Version string of the package.

To create a formatted string of the exported packages dawn_create_package_string.