mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-24 06:51:17 +01:00
Use Cg from Externals if it is not found systemwide.
This commit is contained in:
parent
575814895c
commit
7c92b94bc1
@ -371,6 +371,10 @@ else()
|
|||||||
endif(NOT GLEW_FOUND)
|
endif(NOT GLEW_FOUND)
|
||||||
|
|
||||||
check_lib(CG Cg Cg/cg.h)
|
check_lib(CG Cg Cg/cg.h)
|
||||||
|
if(NOT CG_FOUND)
|
||||||
|
message("Shared Cg not found, falling back to the static library")
|
||||||
|
include_directories(Externals)
|
||||||
|
endif(NOT CG_FOUND)
|
||||||
check_lib(CGGL CgGL Cg/cgGL.h)
|
check_lib(CGGL CgGL Cg/cgGL.h)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user