[LOADCONFIG_APITEST] Tell GCC that the .def is not just included for fun,

but that it should actually use it.
This commit is contained in:
Mark Jansen 2020-04-18 15:18:19 +02:00
parent c832112771
commit bf54369dbb
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -13,4 +13,10 @@ add_importlibs(loadconfig_apitest msvcrt kernel32 ntdll)
#add_pch(loadconfig_apitest loadconfig.h SOURCE)
add_rostests_file(TARGET loadconfig_apitest)
# Tell GCC again that we are really interested in exporting symols (who would have figured that we want to use the .def we specified before?)
set_target_properties(loadconfig_apitest
PROPERTIES
ENABLE_EXPORTS TRUE
DEFINE_SYMBOL "")
fixup_load_config(loadconfig_apitest)