Check explicitely for MinGW in CEGUI pkg-config patch.

This commit is contained in:
Quintus 2016-07-30 12:36:06 +02:00
parent 667ebf5891
commit 3d09583655
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ index 1111111..2222222 100644
configure_file( doc/doxygen/doxyfile.in doc/doxygen/doxyfile )
-if (UNIX AND NOT APPLE)
+if (NOT(APPLE))
+if (MINGW OR (UNIX AND NOT APPLE))
configure_file( cegui/CEGUI.pc.in cegui/CEGUI-${CEGUI_VERSION_MAJOR}.pc @ONLY )
install(FILES ${PROJECT_BINARY_DIR}/cegui/CEGUI-${CEGUI_VERSION_MAJOR}.pc DESTINATION ${CEGUI_PKGCONFIG_INSTALL_DIR})