From b2b881f366bca1dd58b31f360f0bb66049a78deb Mon Sep 17 00:00:00 2001 From: jmcarcell Date: Tue, 14 Nov 2023 13:35:26 +0100 Subject: [PATCH] Change image to use clang and remove target_include_directories --- .github/workflows/pre-commit.yml | 2 +- edm4hep/CMakeLists.txt | 3 --- 2 files changed, 1 insertion(+), 4 deletions(-) diff --git a/.github/workflows/pre-commit.yml b/.github/workflows/pre-commit.yml index 231d98584..58ed9d59e 100644 --- a/.github/workflows/pre-commit.yml +++ b/.github/workflows/pre-commit.yml @@ -10,7 +10,7 @@ jobs: - uses: cvmfs-contrib/github-action-cvmfs@v3 - uses: aidasoft/run-lcg-view@v4 with: - release-platform: LCG_104/x86_64-centos7-gcc12-opt + release-platform: LCG_103/x86_64-centos7-clang12-opt run: | STARTDIR=$(pwd) echo "::group::Build podio" diff --git a/edm4hep/CMakeLists.txt b/edm4hep/CMakeLists.txt index eec88e4e5..16b6c10d2 100644 --- a/edm4hep/CMakeLists.txt +++ b/edm4hep/CMakeLists.txt @@ -9,9 +9,6 @@ set_target_properties(edm4hep PROPERTIES ALIAS_GLOBAL true) file(GLOB_RECURSE top_headers ${PROJECT_SOURCE_DIR}/include/*.h) target_sources(edm4hep PUBLIC FILE_SET headers TYPE HEADERS BASE_DIRS ${PROJECT_SOURCE_DIR}/include FILES ${top_headers}) -target_include_directories(edm4hep PUBLIC - $ - $) if (nlohmann_json_FOUND) target_compile_definitions(edm4hep PUBLIC PODIO_JSON_OUTPUT)