Skip to content

Commit

Permalink
cmake: remove non-working externalproject detection
Browse files Browse the repository at this point in the history
  • Loading branch information
scivision committed Jan 5, 2020
1 parent b84fbb7 commit 2e4c421
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/ci_mac.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down
5 changes: 0 additions & 5 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit 2e4c421

Please sign in to comment.