Import shell env variables to cmake by $ENV{VAR}
+set(V4L2_LIB_DIR $ENV{V4L2_LIB_DIR})
+set(V4L2_LIB_OUT $ENV{V4L2_LIB_OUT} )
so all the output will be out-of-source build folder.
by ./config.sh ; ./build.sh