From 1f3412f49dafb23d02d9da6895eb1a165d924051 Mon Sep 17 00:00:00 2001 From: deuce <> Date: Sun, 9 Feb 2014 13:36:58 +0000 Subject: [PATCH] WRAPPER_IMPORTS needs to be set for everyone including the XPDev DLL --- src/xpdev/CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/src/xpdev/CMakeLists.txt b/src/xpdev/CMakeLists.txt index b924eeccf8..d38c8e972a 100644 --- a/src/xpdev/CMakeLists.txt +++ b/src/xpdev/CMakeLists.txt @@ -84,6 +84,7 @@ if(HAS_DEV_MACHINE_SPKR_H) endif() target_compile_definitions(xpdev PRIVATE WRAPPER_EXPORTS) +target_compile_definitions(xpdev INTERFACE WRAPPER_IMPORTS) if(WIN32) target_link_libraries(xpdev Iphlpapi Ws2_32 Winmm) elseif(CMAKE_SYSTEM_NAME STREQUAL "Haiku") -- GitLab