Fixed a small CMake configuration error.

This commit is contained in:
Leon Styhre 2021-07-15 19:29:56 +02:00
parent 80f9114e27
commit a93cef1eb3

View file

@ -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()