summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatt Ranostay <matt.ranostay@konsulko.com>2019-10-10 03:21:14 -0700
committerMatt Ranostay <matt.ranostay@konsulko.com>2019-10-10 03:33:50 -0700
commit40e5b9f96ae32b675de845fbcb231478adee697b (patch)
tree1e5a230de6aafc0cd71cda2857b03e60a9097a0b
parentb67f60f4d77b81040a7810d984310d52dcef608a (diff)
poi-yelp: fix compile issue with SDK
To avoid "SkippingbecauseOE_QMAKE_PATH_EXTERNAL_HOST_BINSisnotdefined" error messages when building with the SDK add the respective path to CMakeLists.txt Bug-AGL: SPEC-2872 Change-Id: I1a90009b85c10f5a7eb1f92d8fc9e141a872c8d4 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
-rw-r--r--CMakeLists.txt2
1 files changed, 2 insertions, 0 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index 10c2384..1fd1cd0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -12,6 +12,8 @@ if(NOT CMAKE_BUILD_TYPE AND NOT CMAKE_CONFIGURATION_TYPES)
set(CMAKE_BUILD_TYPE Release CACHE STRING "Choose the type of build." FORCE)
endif()
+set(OE_QMAKE_PATH_EXTERNAL_HOST_BINS $ENV{OE_QMAKE_PATH_HOST_BINS})
+
project(yelp-client)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11 -fPIC ")