commit 124fec0436068a8ba9d32ff244451a9738ad5db2
parent 78aee1afcacf29841a43463a4d9bb7b42101ad3d
Author: Alexandre Bique <bique.alexandre@gmail.com>
Date: Mon, 28 Nov 2022 09:30:19 +0100
Fix double export warning reported by Timo
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
@@ -100,7 +100,8 @@ if (${CLAP_BUILD_TESTS})
MACOSX_BUNDLE_INFO_PLIST ${CMAKE_CURRENT_SOURCE_DIR}/src/plugins.plist.in
)
elseif(CMAKE_SYSTEM_NAME STREQUAL "Windows")
- target_link_options(clap-plugin-template PRIVATE /EXPORT:clap_entry)
+ # this is already exported by using CLAP_EXPORT
+ # target_link_options(clap-plugin-template PRIVATE /EXPORT:clap_entry)
set_target_properties(clap-plugin-template PROPERTIES SUFFIX ".clap" PREFIX "")
endif()
endif()