Patchwork [3/3] cmake.bbclass: drop CMAKE_MODULE_PATH as it works fine without it

login
register
mail settings
Submitter Otavio Salvador
Date March 4, 2011, 5:04 p.m.
Message ID <1299258247-13554-3-git-send-email-otavio@ossystems.com.br>
Download mbox | patch
Permalink /patch/1135/
State Superseded
Headers show

Comments

Otavio Salvador - March 4, 2011, 5:04 p.m.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
---
 classes/cmake.bbclass |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

Patch

diff --git a/classes/cmake.bbclass b/classes/cmake.bbclass
index d2d1c66..40fadea 100644
--- a/classes/cmake.bbclass
+++ b/classes/cmake.bbclass
@@ -42,8 +42,6 @@  cmake_do_generate_toolchain_file() {
   echo "set( CMAKE_FIND_ROOT_PATH_MODE_PROGRAM ONLY )" >> ${WORKDIR}/toolchain.cmake
   echo "set( CMAKE_FIND_ROOT_PATH_MODE_LIBRARY ONLY )" >> ${WORKDIR}/toolchain.cmake
   echo "set( CMAKE_FIND_ROOT_PATH_MODE_INCLUDE ONLY )" >> ${WORKDIR}/toolchain.cmake
-# Use native cmake modules
-  echo "set( CMAKE_MODULE_PATH ${STAGING_DIR_NATIVE}/usr/share/cmake-2.8/Modules/ )" >> ${WORKDIR}/toolchain.cmake
 # Use qt.conf settings
   echo "set( ENV{QT_CONF_PATH} ${WORKDIR}/qt.conf )" >> ${WORKDIR}/toolchain.cmake
 }