[306/906] fix CMake build and frozen CodeBlocks build
authorJulien Isorce <julien.isorce@gmail.com>
Sun, 8 Feb 2009 00:50:10 +0000 (01:50 +0100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:31:21 +0000 (19:31 +0000)
gst-libs/gst/gl/CMakeLists.txt

index 4b95eaa..4e05d1f 100644 (file)
@@ -5,10 +5,13 @@ include_directories(AFTER
   .
   ${GLEW_INCLUDE_DIR}
   ${GSTREAMER_INCLUDE_DIR}
-  ${GLIB2_INCLUDE_DIR}
+  ${GLIB2_INCLUDE_DIR})
+
+if (NOT GST_USING_BINARY_REGISTRY)
+include_directories(AFTER
   ${LIBXML2_INCLUDE_DIR}
   ${LIBICONV_INCLUDE_DIR})
-
+endif (NOT GST_USING_BINARY_REGISTRY)
 
 if (WIN32)