mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-10 00:44:55 -06:00
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:
parent
c7f915e0fd
commit
2fc8aaab66
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user