From bf392d6ae3f342f03cb852f8a87648933140e738 Mon Sep 17 00:00:00 2001 From: Lars Melchior Date: Tue, 14 Apr 2020 11:13:24 +0200 Subject: [PATCH] adjust build include path and set install build type to release --- .github/workflows/install.yml | 2 +- CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/install.yml b/.github/workflows/install.yml index 56f03b1..1c76344 100644 --- a/.github/workflows/install.yml +++ b/.github/workflows/install.yml @@ -15,7 +15,7 @@ jobs: - name: build and install library run: | - cmake -H. -Bbuild + cmake -H. -Bbuild -DCMAKE_BUILD_TYPE=Release sudo cmake --build build --target install rm -rf build diff --git a/CMakeLists.txt b/CMakeLists.txt index debba82..959499f 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -52,7 +52,7 @@ set_target_properties(Greeter PROPERTIES CXX_STANDARD 17) target_include_directories(Greeter PUBLIC $ - $ + $ ) # ---- Create an installable target ----