[waffle] [PATCH] cmake: add ${CMAKE_INSTALL_PREFIX}/include to include paths
Jordan Justen
jordan.l.justen at intel.com
Mon Jul 23 10:53:12 PDT 2012
This allows building under a prefix where updated waffle
dependencies will have installed their updated include files.
Signed-off-by: Jordan Justen <jordan.l.justen at intel.com>
---
src/waffle/CMakeLists.txt | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/waffle/CMakeLists.txt b/src/waffle/CMakeLists.txt
index 3117198..f777bc0 100644
--- a/src/waffle/CMakeLists.txt
+++ b/src/waffle/CMakeLists.txt
@@ -111,6 +111,8 @@ if(waffle_has_x11_egl)
)
endif()
+include_directories ("${CMAKE_INSTALL_PREFIX}/include")
+
# CMake will pass to the C compiler only C sources. CMake does not recognize the
# .m extension and ignores any such files in the source lists. To coerce CMake
# to pass .m files to the compiler, we must lie and claim that they are
--
1.7.9.5
More information about the waffle
mailing list