Commit 8f405d52 authored by Pierre d'Herbemont's avatar Pierre d'Herbemont
Browse files

cmake: Default to RelWithDebugInfo.

parent 316246df
...@@ -35,6 +35,10 @@ OPTION( ENABLE_VLM "Enable vlm" ON ) ...@@ -35,6 +35,10 @@ OPTION( ENABLE_VLM "Enable vlm" ON )
OPTION( ENABLE_DYNAMIC_PLUGINS "Enable dynamic plugin" ON ) OPTION( ENABLE_DYNAMIC_PLUGINS "Enable dynamic plugin" ON )
OPTION( ENABLE_NO_SYMBOL_CHECK "Don't check symbols of modules against libvlc. (Enabling this option speeds up compilation)" ON ) OPTION( ENABLE_NO_SYMBOL_CHECK "Don't check symbols of modules against libvlc. (Enabling this option speeds up compilation)" ON )
IF (NOT CMAKE_BUILD_TYPE)
SET(CMAKE_BUILD_TYPE "RelWithDebInfo" CACHE STRING "build type determining compiler flags" FORCE )
endif(NOT CMAKE_BUILD_TYPE )
set( HAVE_DYNAMIC_PLUGINS ${ENABLE_DYNAMIC_PLUGINS}) set( HAVE_DYNAMIC_PLUGINS ${ENABLE_DYNAMIC_PLUGINS})
set( LIBEXT ${CMAKE_SHARED_MODULE_SUFFIX}) set( LIBEXT ${CMAKE_SHARED_MODULE_SUFFIX})
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment