summaryrefslogtreecommitdiffstats
path: root/CMakeLists.txt
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-11 13:32:48 +0000
commitdd64470816b203a0f5a57e5884af51f260e72e41 (patch)
tree6d32447635dc835e5b1ba198a736fce7516e1b4c /CMakeLists.txt
parentc45eecb1a35d2ed6615bcf4e1bed448900b8783f (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> (cherry picked from commit 40e5b9f96ae32b675de845fbcb231478adee697b)
Diffstat (limited to 'CMakeLists.txt')
-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 ")