Browse Source

CMake: Bugfix: Fix bug where Cg was not set to found properly on first-pass configuration.

kestred 12 years ago
parent
commit
31bb550bda
1 changed files with 2 additions and 2 deletions
  1. 2 2
      cmake/modules/FindCg.cmake

+ 2 - 2
cmake/modules/FindCg.cmake

@@ -62,7 +62,7 @@ macro(find_cggl)
 
 		# Check if we have everything we need
 		if(CGGL_IPATH AND CGGL_LPATH)
-			set(CGGL_FOUND TRUE)
+			set(FOUND_CGGL TRUE)
 			if(WIN32)
 				set(CGGL_LIBS cgGL.lib)
 			else()
@@ -169,7 +169,7 @@ else()
 
 	# Check if we have everything we need
 	if(CG_IPATH AND CG_LPATH)
-		set(CG_FOUND TRUE)
+		set(FOUND_CG TRUE)
 		if(WIN32)
 			set(CG_LIBS cg.lib)
 		else()