Skip to content

Commit e188dae

Browse files
committed
TestFoundation: add -D_DLL to the build
Declare `_DLL` when building TestFoundation to ensure that the system functions are imported correctly with the proper DLL storage.
1 parent 3708a15 commit e188dae

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -473,6 +473,7 @@ if(ENABLE_TESTING)
473473
${deployment_target}
474474
${deployment_enable_libdispatch}
475475
-F${CMAKE_CURRENT_BINARY_DIR}
476+
-D_DLL
476477
LINK_FLAGS
477478
${libdispatch_ldflags}
478479
-L${CMAKE_CURRENT_BINARY_DIR}

0 commit comments

Comments
 (0)