[CMAKE][WIN32U_APITEST] Remove 3 useless 'set_module_type(... IMAGEBASE default)' (#6328)

And add an explicit documentation comment.

Addendum to commit 2b7246fd3.
This commit is contained in:
Serge Gautherie 2024-01-14 16:07:00 +01:00 committed by GitHub
parent cbc3ee2287
commit 2c895c986f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 4 additions and 3 deletions

View file

@ -642,6 +642,7 @@ function(set_module_type MODULE TYPE)
endif()
# Set base address
# Use 'IMAGEBASE default' to skip these set_image_base(), especially for win32dll test files
if(__module_IMAGEBASE)
if(NOT ${__module_IMAGEBASE} STREQUAL "default")
set_image_base(${MODULE} ${__module_IMAGEBASE})