mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 01:59:52 -06:00
If CG isn't available, still compile and fallback on GLSL
This commit is contained in:

committed by
Sonicadvance1

parent
7c91476650
commit
189d12b61c
@ -475,6 +475,12 @@ else()
|
||||
include_directories(Externals)
|
||||
endif(NOT CG_FOUND)
|
||||
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(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
|
||||
|
Reference in New Issue
Block a user