Glut.cmake
上传用户:king477883
上传日期:2021-03-01
资源大小:9553k
文件大小:0k
源码类别:

游戏引擎

开发平台:

C++ Builder

  1. # -*- cmake -*-
  2. include(Linking)
  3. include(Prebuilt)
  4. if (WINDOWS)
  5.     use_prebuilt_binary(freeglut)
  6.     set(GLUT_LIBRARY
  7.         debug freeglut_static.lib
  8.         optimized freeglut_static.lib)
  9. endif (WINDOWS)
  10. if (LINUX)
  11.   FIND_LIBRARY(GLUT_LIBRARY glut)
  12. endif (LINUX)
  13. if (DARWIN)
  14.   include(CMakeFindFrameworks)
  15.   find_library(GLUT_LIBRARY GLUT)
  16. endif (DARWIN)