remove CMake INSTALL_EXAMPLES option, as directories it cites no longer exist

ms-warning-cleanup-2
drowe67 2023-07-13 10:02:57 +09:30 committed by David Rowe
parent 3532e024e2
commit ad8fd510e7
1 changed files with 0 additions and 7 deletions

View File

@ -118,12 +118,6 @@ endif(MINGW)
option(BUILD_SHARED_LIBS option(BUILD_SHARED_LIBS
"Build shared library. Set to OFF for static library." ON) "Build shared library. Set to OFF for static library." ON)
option(UNITTEST "Build unittest binaries." OFF) option(UNITTEST "Build unittest binaries." OFF)
option(INSTALL_EXAMPLES "Install example code." OFF)
if(INSTALL_EXAMPLES)
install(DIRECTORY octave raw script wav
USE_SOURCE_PERMISSIONS
DESTINATION ${CMAKE_INSTALL_DATADIR}/codec2)
endif()
# LPCNet needs to be bootstraped because codec2 and freedvlpcnet are # LPCNet needs to be bootstraped because codec2 and freedvlpcnet are
# cross dependent. # cross dependent.
@ -135,7 +129,6 @@ if(LPCNET_BUILD_DIR)
endif() endif()
include(CheckIncludeFiles) include(CheckIncludeFiles)
check_include_files("stdlib.h" HAVE_STDLIB_H) check_include_files("stdlib.h" HAVE_STDLIB_H)
check_include_files("string.h" HAVE_STRING_H) check_include_files("string.h" HAVE_STRING_H)