fixed: auto_ptr -> unique_ptr
[opensg.git] / Source / Contrib / CgFXMaterial / CMake / ConfigurePackages.OSGContribCgFX.cmake
blob909b463207add71b68656ce38aacd5815329ead7
1 MACRO(OSG_CONFIGURE_CG)
3   OSG_FIND_PACKAGE(Cg)
5   IF(CG_FOUND)
7     OSG_ADD_IMPORT_LIB(OSG_CG_TARGETS CG_LIBRARY)
8     OSG_ADD_IMPORT_LIB(OSG_CG_GL_TARGETS CG_GL_LIBRARY)
10     SET(CG_LIBRARIES ${OSG_CG_TARGETS} ${OSG_CG_GL_TARGETS} 
11                                          CACHE STRING "" FORCE)
13     OSG_ADD_OPT(OSG_CG_TARGETS)
15         OSG_SET(OSG_WITH_CG 1)
17   ENDIF(CG_FOUND)
19 ENDMACRO(OSG_CONFIGURE_CG)