diff --git a/CMakeLists.txt b/CMakeLists.txt index 92bc57ac0..09f32734f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -121,10 +121,10 @@ if(BUILD_DEPRECATED) endif() option(BUILD_STATIC "Build static libraries (default are shared)" OFF) -option(BUILD_STATIC_PIC "Build static libraries and plugins with position-independent code" OFF) +option(BUILD_STATIC_PIC "Build static libraries and plugins with position-independent code" ON) option(BUILD_PLUGINS_STATIC "Build static plugins (default are dynamic)" OFF) -option(BUILD_TESTS "Build unit tests." OFF) -cmake_dependent_option(BUILD_GL_TESTS "Build unit tests for OpenGL code." OFF "BUILD_TESTS" OFF) +option(BUILD_TESTS "Build unit tests" OFF) +cmake_dependent_option(BUILD_GL_TESTS "Build unit tests for OpenGL code" OFF "BUILD_TESTS" OFF) if(BUILD_TESTS) enable_testing() endif()