Skip to content

Commit 2e4c421

Browse files
committed
cmake: remove non-working externalproject detection
1 parent b84fbb7 commit 2e4c421

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

.github/workflows/ci_linux.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: ci_linux
33
on:
44
push:
55
paths:
6+
- "**.build"
7+
- "**.txt"
68
- "**.f90"
79
- ".github/workflows/ci_linux.yml"
810
pull_request:
911
paths:
12+
- "**.build"
13+
- "**.txt"
1014
- "**.f90"
1115
- ".github/workflows/ci_linux.yml"
1216

.github/workflows/ci_mac.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,14 @@ name: ci_mac
33
on:
44
push:
55
paths:
6+
- "**.build"
7+
- "**.txt"
68
- "**.f90"
79
- ".github/workflows/ci_mac.yml"
810
pull_request:
911
paths:
12+
- "**.build"
13+
- "**.txt"
1014
- "**.f90"
1115
- ".github/workflows/ci_mac.yml"
1216

CMakeLists.txt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,4 @@ include(cmake/hdf5.cmake)
1616

1717
add_subdirectory(src)
1818

19-
# skip tests if used as ExternalProject
20-
if(NOT CMAKE_SOURCE_DIR STREQUAL PROJECT_SOURCE_DIR)
21-
return()
22-
endif()
23-
2419
add_subdirectory(src/tests)

0 commit comments

Comments
 (0)