Skip to content

Commit ded1f88

Browse files
author
Mathieu Taillefumier
committed
Fix merge issue
1 parent 0bbbc47 commit ded1f88

File tree

1 file changed

+2
-15
lines changed

1 file changed

+2
-15
lines changed

CMakeLists.txt

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -98,30 +98,16 @@ endif ()
9898
set(COSTA_WITH_PROFILING ${COSMA_WITH_PROFILING} CACHE INTERNAL "")
9999
set(COSTA_SCALAPACK ${COSMA_SCALAPACK} CACHE INTERNAL "")
100100

101-
<<<<<<< HEAD
102101
FetchContent_Declare(
103102
costa
104103
GIT_REPOSITORY https://github.com/eth-cscs/costa.git
105104
GIT_TAG 03847e66f05ad4a1eb371b85be628e218ce46f11 # v2.2.3
106105
FIND_PACKAGE_ARGS NAMES costa
107106
)
108-
# the joy of fetch_content. if we build costa and cosma together
109-
# fetch_content will pick up the FindSCALAPACK from cosma NOT costa.
110-
if (NOT TARGET costa::scalapack::scalapack AND NOT COSMA_SCALAPACK MATCHES "OFF")
111-
=======
112-
113-
114-
FetchContent_Declare(
115-
costa
116-
GIT_REPOSITORY https://github.com/mtaillefumier/costa.git
117-
GIT_TAG f9955e626adca8ca4b613932a57e1e6a38235581 # master
118-
)
119107

120108
# the joy of fetch_content. if we build costa and cosma together
121109
# fetch_content will pick up the FindSCALAPACK from cosma NOT costa.
122-
123-
if (NOT TARGET costa::scalapack::scalapack)
124-
>>>>>>> 12ad142 (cmake cleanup)
110+
if (NOT TARGET costa::scalapack::scalapack AND NOT COSMA_SCALAPACK MATCHES "OFF")
125111
add_library(costa::scalapack::scalapack ALIAS cosma::scalapack::scalapack)
126112
endif ()
127113

@@ -157,6 +143,7 @@ if (COSMA_WITH_PROFILING)
157143
semiprof
158144
GIT_REPOSITORY https://github.com/bcumming/semiprof.git
159145
GIT_TAG f132142ff2215dfa073e416fa7911d8877d62752
146+
FIND_PACKAGE_ARGS NAMES semiprof
160147
)
161148
FetchContent_MakeAvailable(semiprof)
162149
endif ()

0 commit comments

Comments
 (0)