summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/classes/cmake.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/cmake.bbclass b/meta/classes/cmake.bbclass
index b364d2bc20..f22d90a1d5 100644
--- a/meta/classes/cmake.bbclass
+++ b/meta/classes/cmake.bbclass
@@ -108,6 +108,10 @@ list(APPEND CMAKE_MODULE_PATH "${STAGING_DATADIR}/cmake/Modules/")
108# add for non /usr/lib libdir, e.g. /usr/lib64 108# add for non /usr/lib libdir, e.g. /usr/lib64
109set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir}) 109set( CMAKE_LIBRARY_PATH ${libdir} ${base_libdir})
110 110
111# add include dir to implicit includes in case it differs from /usr/include
112list(APPEND CMAKE_C_IMPLICIT_INCLUDE_DIRECTORIES ${includedir})
113list(APPEND CMAKE_CXX_IMPLICIT_INCLUDE_DIRECTORIES ${includedir})
114
111EOF 115EOF
112} 116}
113 117