Skip to content

Commit 803983b

Browse files
cosunaehavogt
authored andcommitted
Fix include of storage target (#1353)
1 parent 2d42ea7 commit 803983b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CMakeLists.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ endif()
8181

8282
if( COMPONENT_STORAGE )
8383
generate_target_for(NAME storage)
84-
target_link_libraries( distributed_boundaries INTERFACE common )
84+
target_link_libraries( storage INTERFACE common )
8585
endif()
8686

8787
if( COMPONENT_INTERFACE )

cmake/workaround_mpi.cmake

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# For CUDA, the mpi compile options are non-empty, but the flags are invalid with nvcc, so we need
33
# to pass them using -Xcompiler
44

5+
cmake_policy(SET CMP0057 NEW)
56
function(_fix_mpi_flags)
67
get_property(_languages GLOBAL PROPERTY ENABLED_LANGUAGES)
78
if("CUDA" IN_LIST _languages)

0 commit comments

Comments
 (0)