GLOD.cmake 509 B

1234567891011121314151617
  1. # -*- cmake -*-
  2. if (GLOD_CMAKE_INCLUDED)
  3. return()
  4. endif (GLOD_CMAKE_INCLUDED)
  5. set (GLOD_CMAKE_INCLUDED TRUE)
  6. include(Prebuilt)
  7. # NOTE: our GLOD library is a patched one, that works with vertex buffers
  8. # (instead of fixed OpenGL functions) and is compatible with the GL core
  9. # profile. No such library exists in any Linux distro, so we always use our
  10. # library, even when USESYSTEMLIBS is ON. HB
  11. use_prebuilt_binary(glod)
  12. set(GLOD_LIBRARIES glod)
  13. include_directories(SYSTEM ${LIBS_PREBUILT_DIR}/include)