From b81fbd1299173fe6791d4968d67d7413c2801d3d Mon Sep 17 00:00:00 2001 From: hobbes1069 Date: Mon, 6 Feb 2017 16:43:00 +0000 Subject: [PATCH] Remove conditional around build type for whether dev tools should be built or not. Removes dependency on speex for non-dev builds. git-svn-id: https://svn.code.sf.net/p/freetel/code@3020 01035d8c-6547-0410-b346-abe4f91aad63 --- codec2-dev/CMakeLists.txt | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/codec2-dev/CMakeLists.txt b/codec2-dev/CMakeLists.txt index e43e79f4..e562e80f 100644 --- a/codec2-dev/CMakeLists.txt +++ b/codec2-dev/CMakeLists.txt @@ -35,9 +35,9 @@ endif("${CMAKE_SOURCE_DIR}" STREQUAL "${CMAKE_BINARY_DIR}") # file at some point. # set(CODEC2_VERSION_MAJOR 0) -set(CODEC2_VERSION_MINOR 4) +set(CODEC2_VERSION_MINOR 6) # Set to patch level if needed, otherwise leave FALSE. -set(CODEC2_VERSION_PATCH 1) +set(CODEC2_VERSION_PATCH FALSE) set(CODEC2_VERSION "${CODEC2_VERSION_MAJOR}.${CODEC2_VERSION_MINOR}") # Patch level version bumps should not change API/ABI. set(SOVERSION "${CODEC2_VERSION_MAJOR}.${CODEC2_VERSION_MINOR}") @@ -102,11 +102,11 @@ endif(MINGW) option(BUILD_SHARED_LIBS "Build shared library. Set to OFF for static library." ON) # Unittest should be on for dev builds and off for releases. -if(CMAKE_BUILD_TYPE MATCHES "Release") +#if(CMAKE_BUILD_TYPE MATCHES "Release") option(UNITTEST "Build unittest binaries." OFF) -else() - option(UNITTEST "Build unittest binaries." ON) -endif() +#else() + #option(UNITTEST "Build unittest binaries." ON) +#endif() option(INSTALL_EXAMPLES "Install example code." OFF) if(INSTALL_EXAMPLES) install(DIRECTORY octave raw script wav -- 2.25.1