mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-29 17:19:44 -06:00
If CG isn't available, still compile and fallback on GLSL
This commit is contained in:
@ -23,7 +23,7 @@ if(wxWidgets_FOUND)
|
||||
set(LIBS ${LIBS} ${wxWidgets_LIBRARIES})
|
||||
endif(wxWidgets_FOUND)
|
||||
|
||||
if(APPLE OR WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||
if(HAVE_CG AND (APPLE OR WIN32 OR ${CMAKE_SYSTEM_NAME} MATCHES "Linux"))
|
||||
set(LIBS ${LIBS} Cg CgGL)
|
||||
endif()
|
||||
|
||||
|
Reference in New Issue
Block a user