mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-30 01:29:42 -06:00
If CG isn't available, still compile and fallback on GLSL
This commit is contained in:
@ -372,6 +372,12 @@ else()
|
||||
|
||||
check_lib(CG Cg Cg/cg.h)
|
||||
check_lib(CGGL CgGL Cg/cgGL.h)
|
||||
if(NOT CG_FOUND)
|
||||
message("CG not found, Building without")
|
||||
add_definitions(-DHAVE_CG=0)
|
||||
else()
|
||||
add_definitions(-DHAVE_CG=1)
|
||||
endif()
|
||||
endif()
|
||||
|
||||
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
|
Reference in New Issue
Block a user