title: Bitbake create cmake recipe from local sources
body: <p>I'm trying to build a helloworld package example with a cmake recipe. My problem is bitbake give me an error because it can't find CMakeLists.txt in the /tmp/work/core2-64-poky-linux/helloworld/0.1-r0 folder.</p>
  <p>The error :</p>
  <pre><code>helloworld-0.1-r0 do_configure: Execution of '/path-to-tmp/tmp/work/core2-64-poky-linux/helloworld/0.1-r0/temp/run.do_configure.28001' failed with exit code 1:
  CMake Error: The source directory &quot;/path-to-tmp/tmp/work/core2-64-poky-linux/helloworld/0.1-r0/files&quot; does not appear to contain CMakeLists.txt.
  </code></pre>
  <p>My package is in my layer meta-mylayer/recipes-core/helloworld :</p>
  <pre><code>meta-mylayer/
  ├── conf
  │   └── layer.conf
  ├── COPYING.MIT
  ├── README
  └── recipes-core
      └── helloworld
          ├── files
          │   ├── CMakeLists.txt
          │   └── main_helloworld.c
          └── helloworld_0.1.bb
  </code></pre>
  <p>My CMakeLists.txt :</p>
  <pre><code>cmake_minimum_required(VERSION 2.4)
  
  project(helloworld)
  file(GLOB_RECURSE files/*.c)
  
  add_executable(app ${src_files})
  
  install(TARGETS helloworld DESTINATION bin)
  </code></pre>
  <p>My helloworld_0.1.bb :</p>
  <pre><code>PN=&quot;helloworld&quot;
  PV=&quot;0.1&quot;
  P=&quot;${PN}-${PV}&quot;
  DESCRIPTION=&quot;This is my package helloworld&quot;
  LICENSE=&quot;CLOSED&quot;
  FILESEXTRAPATHS_prepend:=&quot;${THISDIR}/${PN}:&quot;
  RDEPENDS_${PN}+=&quot;&quot;
  DEPENDS+=&quot;&quot;
  DEPENDS+=&quot;cmake&quot;
  
  SRC_URI+=&quot;file://CMakeLists.txt file://main_helloworld.c&quot;
  
  S=&quot;${WORKDIR}/files&quot;
  
  inherit pkgconfig cmake
  </code></pre>
  <p>I can't find my files in /path-to-tmp/tmp/work/core2-64-poky-linux/helloworld/0.1-r0/*</p>
  <p>Why files are not copied? I'm using yocto Dunfell.</p>
  <p>Thanks for your help.</p>