Pkg-config will strip out any -L if they match the default search
directory, so we ended up with a -L and no arguments to it, that would
consume whatever came next.
Components: EGL
VK-GL-CTS issue: 2726
Change-Id: Iba0f7d8e0a4ab66e5fd369f60e4d04ac5420df65
if (GLES1_LIBRARIES)
set(DEQP_SUPPORT_GLES1 ON)
set(DEQP_GLES1_LIBRARIES ${GLES1_LIBRARIES})
- set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${GLES1_LIBRARY_DIRS}")
+ if (GLES1_LIBRARY_DIRS)
+ set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -L${GLES1_LIBRARY_DIRS}")
+ endif (GLES1_LIBRARY_DIRS)
include_directories(${GLES1_INCLUDE_DIRS})
endif (GLES1_LIBRARIES)