Skip to content

Commit e69de9b

Browse files
CMake: Fix all-test target on Windows
1 parent e19aeea commit e69de9b

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

CMakeLists.txt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,8 +479,10 @@ if(${TARGET} STREQUAL "all-test")
479479
create_symlinks moduleCkCache trace-converse moduleCommonLBs
480480
moduleTreeLB moduleCkMulticast moduleCkIO conv-cpm memory-os-wrapper
481481
threads-default-tls ldb-neighbor ldb-workstealing
482-
modulecollidecharm modulecollide memory-os memory-gnu-isomalloc
483-
ampi_globals_fs)
482+
modulecollidecharm modulecollide memory-os memory-os-isomalloc)
483+
if(CMK_HAS_MMAP)
484+
add_dependencies(all-test memory-gnu-isomalloc)
485+
endif()
484486
if(CMK_CAN_LINK_FORTRAN)
485487
add_dependencies(all-test moduleampif conv-utilf ckmainf
486488
ampi_funcptr_shim_fortran ampi_funcptr_shim_fmpimain)

0 commit comments

Comments
 (0)