Skip to content

CMake build fails with -DINCLUDE_SPLIT=1

The CMake build fails when specifying -DINCLUDE_SPLIT=1 with the following error:

CMake Error at CMakeLists.txt:158 (target_include_directories):Cannot specify include directories for target "lib_lc3plus" which is not built by this project.

The library name should also be updated from lc3plus to lib_lc3plus to resolve this (add_library() on line 157).