Skip to content

Commit 1ea5deb

Browse files
committed
[CMAKE] Rumor has it that CMake and Yocto are not best friends, so Yocto refuses to set the CMAKE_SYSROOT. So lets use the BR environment variable STAGING_DIR.
1 parent bcf715d commit 1ea5deb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cmake_minimum_required(VERSION 3.7)
22

3-
include(${CMAKE_SYSROOT}${CMAKE_INSTALL_PREFIX}/include/cmake/tools.cmake)
3+
include($ENV{STAGING_DIR}${CMAKE_INSTALL_PREFIX}/include/cmake/tools.cmake)
44

55
set(PLUGIN_NAME Launcher)
66
set(MODULE_NAME ${NAMESPACE}${PLUGIN_NAME})

0 commit comments

Comments
 (0)