Make cmake projects in sub-directories directly buildable

With this change, cmake projects in sub-directories can be built
individually from their CMakeLists.txt.
This commit is contained in:
Marc Lasch 2023-05-30 13:49:13 +02:00 committed by mlasch
parent 94506859ad
commit 8d1a7139f1
2 changed files with 2 additions and 2 deletions

View File

@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.13)
project(wakaama C)
include(wakaama.cmake)
add_subdirectory(examples)
# Enable "test" target

View File

@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13)
project(lwm2munittests C)
include(../wakaama.cmake)
add_executable(
lwm2munittests
block1tests.c