Simplify CMake condition for WSL_POST_BUILD_COMMAND

Reverts to the original DEFINED-only check for consistency with existing build logic. This is a small follow-up based on reviewer feedback from the previous PR.
This commit is contained in:
Beena352 2025-12-08 15:52:44 -08:00
parent c7f915e0fd
commit 2fc8aaab66

View File

@ -47,7 +47,7 @@ endif()
set_source_files_properties(${OUTPUT_PACKAGE} PROPERTIES GENERATED TRUE)
if (DEFINED WSL_POST_BUILD_COMMAND AND NOT "${WSL_POST_BUILD_COMMAND}" STREQUAL "")
if (DEFINED WSL_POST_BUILD_COMMAND)
add_custom_command(
TARGET msipackage
POST_BUILD