Initial removal of Nvidia CG. Still some more cleanup to go

This commit is contained in:
Ryan Houdek
2012-12-24 11:09:52 -06:00
parent cf8f936abb
commit 9209253e0d
28 changed files with 197 additions and 2570 deletions
-17
View File
@@ -466,23 +466,6 @@ else()
add_subdirectory(Externals/GLew)
include_directories(Externals/GLew/include)
endif(NOT GLEW_FOUND)
if(NOT ${CMAKE_SYSTEM_NAME} MATCHES "Darwin")
check_lib(CG Cg Cg/cg.h)
endif()
if(NOT CG_FOUND)
message("Using static Cg from Externals")
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)
set(HAVE_CG 0)
else()
add_definitions(-DHAVE_CG=1)
set(HAVE_CG 1)
endif()
endif()
if(${CMAKE_SYSTEM_NAME} MATCHES "Darwin")