From a7cd8d5131f52c58c20dfd85b524a25eb7df73ca Mon Sep 17 00:00:00 2001 From: Mateusz Pusz Date: Tue, 30 Mar 2021 14:01:58 +0200 Subject: [PATCH] build: Local directory added to include dirs for `glide_computer` --- example/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/example/CMakeLists.txt b/example/CMakeLists.txt index 4f001572..e28873d9 100644 --- a/example/CMakeLists.txt +++ b/example/CMakeLists.txt @@ -51,6 +51,7 @@ if(NOT UNITS_LIBCXX) glide_computer_example.cpp ) target_link_libraries(glide_computer PRIVATE mp-units::core-fmt mp-units::si mp-units::si-international) + target_include_directories(glide_computer PRIVATE ${CMAKE_CURRENT_LIST_DIR}) find_package(linear_algebra CONFIG REQUIRED) add_example(linear_algebra mp-units::core-fmt mp-units::core-io mp-units::si)