From a93cef1eb32ec3af05cc366daab2ed3a5ce9f026 Mon Sep 17 00:00:00 2001 From: Leon Styhre Date: Thu, 15 Jul 2021 19:29:56 +0200 Subject: [PATCH] Fixed a small CMake configuration error. --- CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 782a2a7b6..b33826f47 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -362,7 +362,7 @@ endif() if(DEFINED BCMHOST) link_directories("${CMAKE_FIND_ROOT_PATH}/opt/vc/lib") list(APPEND COMMON_LIBRARIES bcm_host brcmEGL ${OPENGLES_LIBRARIES}) -elseif(DEFINED RPI) +elseif(RPI) link_directories("${CMAKE_FIND_ROOT_PATH}/opt/vc/lib") list(APPEND COMMON_LIBRARIES ${OPENGLES_LIBRARIES}) endif()