]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - cmake/FindGLIB.cmake
Add CMakeLists.txt
[xonotic/netradiant.git] / cmake / FindGLIB.cmake
diff --git a/cmake/FindGLIB.cmake b/cmake/FindGLIB.cmake
new file mode 100644 (file)
index 0000000..8e231e9
--- /dev/null
@@ -0,0 +1,5 @@
+include(FindPkgConfig OPTIONAL)
+if (PKG_CONFIG_FOUND)
+    include(FindPkgConfig)
+    pkg_check_modules(GLIB glib-2.0)
+endif ()