diff --git a/CMakeLists.txt b/CMakeLists.txt index 69b31d2..03cc6e2 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -1,4 +1,4 @@ -cmake_minimum_required(VERSION 3.26) +cmake_minimum_required(VERSION 3.16) add_subdirectory("protothreads") diff --git a/tests/CMakeLists.txt b/tests/CMakeLists.txt index 3b611e4..42213e0 100644 --- a/tests/CMakeLists.txt +++ b/tests/CMakeLists.txt @@ -10,6 +10,8 @@ target_link_libraries(${TEST} protothreads ) -target_include_directories(${TEST} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ) +include_directories(${PROJECT_SOURCE_DIR} ${OS_LIB_DIR}) + +target_include_directories(${TEST} INTERFACE ${CMAKE_CURRENT_SOURCE_DIR} ${OS_LIB_DIR}) add_test( NAME ${TEST} COMMAND ./${TEST})