Index: ppsspp-1.4.2/CMakeLists.txt =================================================================== --- ppsspp-1.4.2/CMakeLists.txt +++ ppsspp-1.4.2/CMakeLists.txt 2017-06-03 16:14:27.973660658 +0200 @@ -386,7 +386,7 @@ include_directories(Common) setup_target_project(Common Common) -target_link_libraries(Common Ext::Snappy) +target_link_libraries(Common snappy) if(WIN32) include_directories(dx9sdk/Include) @@ -964,8 +964,8 @@ endif() target_link_libraries(native ${LIBZIP_LIBRARY} ${ZLIB_LIBRARY} ${PNG_LIBRARY} rg_etc1 vjson udis86 ${RT_LIB} ${nativeExtraLibs} ${ATOMIC_LIB}) -if(TARGET Ext::GLEW) - target_link_libraries(native Ext::GLEW) +if(NOT USING_GLES2) + target_link_libraries(native GLEW) endif() if(ANDROID) Index: ppsspp-1.4.2/ext/CMakeLists.txt =================================================================== --- ppsspp-1.4.2/ext/CMakeLists.txt +++ ppsspp-1.4.2/ext/CMakeLists.txt 2017-06-03 16:13:18.617642749 +0200 @@ -1,13 +1,9 @@ set(ARMIPS_REGEXP OFF CACHE BOOL "" FORCE) add_subdirectory(armips) -if(NOT USING_GLES2) - add_subdirectory(glew) -endif() set(ENABLE_GLSLANG_BINARIES OFF CACHE BOOL "let's not build binaries we don't need" FORCE) add_subdirectory(glslang) -add_subdirectory(snappy) add_subdirectory(udis86) add_subdirectory(SPIRV-Cross-build)