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
3737 reel/reel.h
3838)
3939
40+ if (SCOREC_NO_MPI)
41+ set (HEADERS ${HEADERS} pcu_pnompi_types.h)
42+ endif ()
43+
4044# Add the pcu library
4145add_library (pcu ${SOURCES} )
4246# 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
4141 pcu_mpi.c
4242 pcu_msg.c
4343 pcu_order.c
44- pcu_pmpi.c
4544 pcu_util.c
4645 noto/noto_malloc.c
4746 reel/reel.c
4847)
4948
49+ if (SCOREC_NO_MPI)
50+ set (SOURCES ${SOURCES} pcu_pnompi.c)
51+ else ()
52+ set (SOURCES ${SOURCES} pcu_pmpi.c)
53+ endif ()
54+
5055set (HEADERS
5156 PCU.h
5257 pcu_io.h
5358 pcu_util.h
5459 noto/noto_malloc.h
5560 reel/reel.h)
5661
62+ if (SCOREC_NO_MPI)
63+ set (HEADERS ${HEADERS} pcu_pnompi_types.h)
64+ endif ()
65+
5766tribits_add_library(
5867 pcu
5968 HEADERS ${HEADERS}
You can’t perform that action at this time.
0 commit comments