Unknown CMake command "sdk_install_samples".

Hi,
I am trying to compile the laneDetection sample for host machine and I am getting an 'Unknown CMake command “sdk_install_samples”. '.
Am I doing something wrong?

addfor1@addfor1-ubuntu1404:~/workspace/driveworks/samples_0.3$ mkdir build && cd build
addfor1@addfor1-ubuntu1404:~/workspace/driveworks/samples_0.3/build$ cmake -DCMAKE_BUILD_TYPE=Release  ../laneDetection/
-- The C compiler identification is GNU 4.8.4
-- The CXX compiler identification is GNU 4.8.4
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Detecting CXX compile features
-- Detecting CXX compile features - done
CMake Error at laneDetection/CMakeLists.txt:33 (sdk_install_samples):
  Unknown CMake command "sdk_install_samples".


CMake Warning (dev) in CMakeLists.txt:
  No cmake_minimum_required command is present.  A line of code such as

    cmake_minimum_required(VERSION 3.2)

  should be added at the top of the file.  The version specified may be lower
  if you wish to support older CMake versions for this project.  For more
  information run "cmake --help-policy CMP0000".
This warning is for project developers.  Use -Wno-dev to suppress it.

-- Configuring incomplete, errors occurred!
See also "/home/addfor1/workspace/driveworks/samples_0.3/build/CMakeFiles/CMakeOutput.log".

Got it.
Samples are not initially intended to be built individually. One must copy the entire /usr/local/driveworks/samples instead of copying only the subdirectory for a particular sample

Thanks for posting the solution!