CMake/FindWine: search for wineg++ executable

Instead of relying on wineg++ being in PATH search for it as it might
reside somewhere else.
This commit is contained in:
Tobias Doerffel
2014-05-01 23:55:19 +02:00
parent 83c2019611
commit 059ddc2875
2 changed files with 3 additions and 2 deletions

View File

@@ -9,6 +9,7 @@
FIND_PATH(WINE_INCLUDE_DIR windows/windows.h PATH_SUFFIXES wine)
FIND_LIBRARY(WINE_LIBRARY NAMES wine PATH_SUFFIXES wine)
FIND_PROGRAM(WINE_CXX NAMES wineg++)
set(WINE_INCLUDE_DIRS ${WINE_INCLUDE_DIR} )
set(WINE_LIBRARIES ${WINE_LIBRARY} )