#
if(NOT USE_STATIC_CODEC2)
message(STATUS "Looking for codec2...")
- find_package(codec2 CONFIG QUIET)
+ # 'CONFIG' removed due to incompatibility with cmake version
+ # in Ubuntu 12.04 (Precise) -- Stuart Longland
+ find_package(codec2 QUIET)
if(codec2_FOUND)
get_target_property(CODEC2_LIBRARY codec2 LOCATION)
message(STATUS " codec2 library: ${CODEC2_LIBRARY}")
or
$ cd freedv-dev
-At the moment we will need to apply a few patches:
-
-patch src/dlg_ptt.cpp dlg_ptt_OSX.patch
-patch src/CMakeLists.txt cmake_OSX.patch
-
$ mkdir build_osx && cd build_osx
Assuming you are intending on building Codec2 as part of the build process, run: