Perlmint / glew-cmake

GLEW(https://github.com/nigels-com/glew, source updated nightly) with Cmake and pre-generated sources
Other
235 stars 95 forks source link

Make shared and static libraries optional #2

Closed andystanton closed 10 years ago

andystanton commented 10 years ago

Added options to allow parent CMake projects to build either static or shared (or both) glew lib.

Usage

OPTION( glew-cmake_BUILD_SHARED "Build the shared glew library" ON)
OPTION( glew-cmake_BUILD_STATIC "Build the static glew library" OFF)