mirror of
https://github.com/microsoft/WSL.git
synced 2025-12-11 23:39:22 -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)
|
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(
|
add_custom_command(
|
||||||
TARGET msipackage
|
TARGET msipackage
|
||||||
POST_BUILD
|
POST_BUILD
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user