Skip to content

Commit 94efa8c

Browse files
authored
Merge branch 'main' into move-src/External
2 parents 7646a94 + ba0db37 commit 94efa8c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CMakeLists.txt

+2-2
Original file line numberDiff line numberDiff line change
@@ -150,10 +150,10 @@ set(balancer_default "TreeLB" CACHE STRING "Charm++ load balancer to use by defa
150150
#TODO we should figure our reasonale defaults and/or provide instructions in the docs
151151
if (balance)
152152
foreach(BALANCER IN LISTS balancer_included)
153-
string(APPEND Cello_TARGET_LINK_OPTIONS " -module ${BALANCER}")
153+
list(APPEND Cello_TARGET_LINK_OPTIONS "SHELL:-module ${BALANCER}")
154154
endforeach()
155155
foreach(BALANCER IN LISTS balancer_default)
156-
string(APPEND Cello_TARGET_LINK_OPTIONS " -balancer ${BALANCER}")
156+
list(APPEND Cello_TARGET_LINK_OPTIONS "SHELL:-balancer ${BALANCER}")
157157
endforeach()
158158
endif()
159159

0 commit comments

Comments
 (0)