Commit 83a5b53f by Nicolas Capens

Fix CMake symbolic path and lower version requirement.

Change-Id: I7c854c0c357f480b0686b0ed12e371adca8a738f Reviewed-on: https://swiftshader-review.googlesource.com/5354Reviewed-by: 's avatarNicolas Capens <capn@google.com> Tested-by: 's avatarNicolas Capens <capn@google.com>
parent 1e6a5fd9
cmake_minimum_required(VERSION 3.0)
cmake_minimum_required(VERSION 2.8)
project(SwiftShader C CXX)
......@@ -822,7 +822,7 @@ endif()
###########################################################
if(LINUX)
add_executable(OGLES2HelloAPI HELLO2_DIR/OGLES2HelloAPI_LinuxX11.cpp)
add_executable(OGLES2HelloAPI ${HELLO2_DIR}/OGLES2HelloAPI_LinuxX11.cpp)
target_link_libraries(OGLES2HelloAPI dl X11 EGL GLESv2)
elseif(APPLE)
add_executable(OGLES2HelloAPI MACOSX_BUNDLE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment