[APITESTS][NTVDM][SPOOLSV] Add the missing ENABLE_EXPORTS property as these EXE targets have function exports.

This became a requirement, following a previous CMake update.
Otherwise the built EXEs would not export their intended functions.

Addendum to commit d8e92b5a (see PR #1335)
CORE-15406

[LOADCONFIG] The GCC rant had nothing to do with GCC, but everything with CMake...

[SPOOLSV] Add the missing exported stubs.
This commit is contained in:
Hermès Bélusca-Maïto 2021-12-04 01:08:20 +01:00
parent addf1e87fe
commit 957e566a23
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
6 changed files with 36 additions and 10 deletions

View file

@ -669,8 +669,10 @@ function(set_module_type MODULE TYPE)
if(TYPE STREQUAL kernel)
# Kernels are executables with exports
set_property(TARGET ${MODULE} PROPERTY ENABLE_EXPORTS TRUE)
set_target_properties(${MODULE} PROPERTIES DEFINE_SYMBOL "")
set_target_properties(${MODULE}
PROPERTIES
ENABLE_EXPORTS TRUE
DEFINE_SYMBOL "")
endif()
if(${TYPE} STREQUAL win32ocx)