From 2e4c421025f5788305fa9b484550ce15de9db5fd Mon Sep 17 00:00:00 2001 From: "Michael Hirsch, Ph.D" Date: Sun, 5 Jan 2020 10:51:43 -0500 Subject: [PATCH] cmake: remove non-working externalproject detection --- .github/workflows/ci_linux.yml | 4 ++++ .github/workflows/ci_mac.yml | 4 ++++ CMakeLists.txt | 5 ----- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci_linux.yml b/.github/workflows/ci_linux.yml index e69727b9..1c13c2c1 100644 --- a/.github/workflows/ci_linux.yml +++ b/.github/workflows/ci_linux.yml @@ -3,10 +3,14 @@ name: ci_linux on: push: paths: + - "**.build" + - "**.txt" - "**.f90" - ".github/workflows/ci_linux.yml" pull_request: paths: + - "**.build" + - "**.txt" - "**.f90" - ".github/workflows/ci_linux.yml" diff --git a/.github/workflows/ci_mac.yml b/.github/workflows/ci_mac.yml index 17a0af37..58a56e8d 100644 --- a/.github/workflows/ci_mac.yml +++ b/.github/workflows/ci_mac.yml @@ -3,10 +3,14 @@ name: ci_mac on: push: paths: + - "**.build" + - "**.txt" - "**.f90" - ".github/workflows/ci_mac.yml" pull_request: paths: + - "**.build" + - "**.txt" - "**.f90" - ".github/workflows/ci_mac.yml" diff --git a/CMakeLists.txt b/CMakeLists.txt index 3c015c26..0abba2c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -16,9 +16,4 @@ include(cmake/hdf5.cmake) add_subdirectory(src) -# skip tests if used as ExternalProject -if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR) - return() -endif() - add_subdirectory(src/tests)