-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #22 from Lukas-W/stable-0.4
Fix build problems: Find wine and freetype headers
- Loading branch information
Showing
3 changed files
with
24 additions
and
19 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,19 @@ | ||
# - Try to find the wine libraries | ||
# Once done this will define | ||
# | ||
# WINE_FOUND - System has wine | ||
# WINE_INCLUDE_DIRS - The wine include directories | ||
# WINE_LIBRARIES - The libraries needed to use wine | ||
# WINE_DEFINITIONS - Compiler switches required for using wine | ||
# | ||
|
||
FIND_PATH(WINE_INCLUDE_DIR windows/windows.h PATH_SUFFIXES wine) | ||
FIND_LIBRARY(WINE_LIBRARY NAMES wine) | ||
|
||
set(WINE_INCLUDE_DIRS ${WINE_INCLUDE_DIR} ) | ||
set(WINE_LIBRARIES ${WINE_LIBRARY} ) | ||
|
||
include(FindPackageHandleStandardArgs) | ||
find_package_handle_standard_args(Wine DEFAULT_MSG WINE_LIBRARIES WINE_INCLUDE_DIRS) | ||
|
||
mark_as_advanced(WINE_INCLUDE_DIR WINE_LIBRARY) |
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