-
Notifications
You must be signed in to change notification settings - Fork 268
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# - Find LIQUID | ||
# Find the native LIQUID includes and library | ||
# | ||
# LIQUID_INCLUDES - where to find LIQUID.h | ||
# LIQUID_LIBRARIES - List of libraries when using LIQUID. | ||
# LIQUID_FOUND - True if LIQUID found. | ||
|
||
if (LIQUID_INCLUDES) | ||
# Already in cache, be silent | ||
set (LIQUID_FIND_QUIETLY TRUE) | ||
endif (LIQUID_INCLUDES) | ||
|
||
find_path (LIQUID_INCLUDES liquid/liquid.h) | ||
|
||
find_library (LIQUID_LIBRARIES NAMES liquid) | ||
|
||
# handle the QUIETLY and REQUIRED arguments and set LIQUID_FOUND to TRUE if | ||
# all listed variables are TRUE | ||
include (FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args (LIQUID DEFAULT_MSG LIQUID_LIBRARIES LIQUID_INCLUDES) | ||
|
||
#mark_as_advanced (LIQUID_LIBRARIES LIQUID_INCLUDES) |