src/CMakeLists.txt: Fix for BINARY_DIR property
src/CMakeLists.txt: Fix for BINARY_DIR property

Both the .pc and .pom file creation flows rely on the per-target property
BINARY_DIR.  This target property was added in CMake 3.4 so .pc and .pom
file generation was broken for CMake versions < 3.4.  This commit
creates a new per-target property (TARGET_BINARY_DIR) which is set to
${CMAKE_CURRENT_BINARY_DIR} so that it's usable on CMake versions before
3.4.

Signed-off-by: Noel Eck <1e36ab6ededef40f3f16bdbc1b09eee72c5d08cf@intel.com>

malikabhi05/upm,sasmita/upm,Propanu/upm,pylbert/upm,stefan-andritoiu/upm,Propanu/upm,Propanu/upm,skiselev/upm,stefan-andritoiu/upm,Propanu/upm,malikabhi05/upm,Propanu/upm,jontrulson/upm,intel-iot-devkit/upm,sasmita/upm,skiselev/upm,g-vidal/upm,intel-iot-devkit/upm,intel-iot-devkit/upm,stefan-andritoiu/upm,malikabhi05/upm,stefan-andritoiu/upm,pylbert/upm,Jon-ICS/upm,g-vidal/upm,Jon-ICS/upm,malikabhi05/upm,jontrulson/upm,skiselev/upm,pylbert/upm,g-vidal/upm,sasmita/upm,pylbert/upm,g-vidal/upm,pylbert/upm,pylbert/upm,sasmita/upm,Propanu/upm,malikabhi05/upm,stefan-andritoiu/upm,intel-iot-devkit/upm,intel-iot-devkit/upm,g-vidal/upm,Jon-ICS/upm,intel-iot-devkit/upm,Jon-ICS/upm,sasmita/upm,g-vidal/upm,jontrulson/upm,stefan-andritoiu/upm,skiselev/upm,Jon-ICS/upm,skiselev/upm,jontrulson/upm,jontrulson/upm,skiselev/upm,malikabhi05/upm