aboutsummaryrefslogtreecommitdiffstats
path: root/cmake/Modules/FindPixman.cmake
diff options
context:
space:
mode:
Diffstat (limited to 'cmake/Modules/FindPixman.cmake')
-rw-r--r--cmake/Modules/FindPixman.cmake4
1 files changed, 4 insertions, 0 deletions
diff --git a/cmake/Modules/FindPixman.cmake b/cmake/Modules/FindPixman.cmake
index 04fe481f..f024b71a 100644
--- a/cmake/Modules/FindPixman.cmake
+++ b/cmake/Modules/FindPixman.cmake
@@ -7,3 +7,7 @@ else()
find_library(PIXMAN_LIBRARIES NAMES pixman-1)
find_package_handle_standard_args(PIXMAN DEFAULT_MSG PIXMAN_LIBRARIES PIXMAN_INCLUDE_DIRS)
endif()
+
+if(Pixman_FIND_REQUIRED AND NOT PIXMAN_FOUND)
+ message(FATAL_ERROR "Could not find Pixman")
+endif()