File tree Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Expand file tree Collapse file tree 2 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -37,6 +37,10 @@ set(HEADERS
37
37
reel/reel.h
38
38
)
39
39
40
+ if (SCOREC_NO_MPI)
41
+ set (HEADERS ${HEADERS} pcu_pnompi_types.h)
42
+ endif ()
43
+
40
44
# Add the pcu library
41
45
add_library (pcu ${SOURCES} )
42
46
# this compiler definition is needed to silence warnings caused by the openmpi CXX
Original file line number Diff line number Diff line change @@ -41,19 +41,28 @@ set(SOURCES
41
41
pcu_mpi.c
42
42
pcu_msg.c
43
43
pcu_order.c
44
- pcu_pmpi.c
45
44
pcu_util.c
46
45
noto/noto_malloc.c
47
46
reel/reel.c
48
47
)
49
48
49
+ if (SCOREC_NO_MPI)
50
+ set (SOURCES ${SOURCES} pcu_pnompi.c)
51
+ else ()
52
+ set (SOURCES ${SOURCES} pcu_pmpi.c)
53
+ endif ()
54
+
50
55
set (HEADERS
51
56
PCU.h
52
57
pcu_io.h
53
58
pcu_util.h
54
59
noto/noto_malloc.h
55
60
reel/reel.h)
56
61
62
+ if (SCOREC_NO_MPI)
63
+ set (HEADERS ${HEADERS} pcu_pnompi_types.h)
64
+ endif ()
65
+
57
66
tribits_add_library(
58
67
pcu
59
68
HEADERS ${HEADERS}
You can’t perform that action at this time.
0 commit comments