Skip to content

Commit

Permalink
Make cmake projects in sub-directories directly buildable
Browse files Browse the repository at this point in the history
With this change, cmake projects in sub-directories can be built
individually from their CMakeLists.txt.
  • Loading branch information
mlasch committed May 31, 2023
1 parent 9450685 commit 8d1a713
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 0 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,6 @@ cmake_minimum_required(VERSION 3.13)

project(wakaama C)

include(wakaama.cmake)

add_subdirectory(examples)

# Enable "test" target
Expand Down
2 changes: 2 additions & 0 deletions tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ cmake_minimum_required(VERSION 3.13)

project(lwm2munittests C)

include(../wakaama.cmake)

add_executable(
lwm2munittests
block1tests.c
Expand Down

0 comments on commit 8d1a713

Please sign in to comment.