# # - Find Wix executables # Find the candle and light command # # MAKEWIX_EXECUTABLE - path to the candle utility. # CMAKE_INSTALL_SYSTEM_RUNTIME_LIBS - System runtime DLLs set(_PF86 "PROGRAMFILES(x86)") # Find candle find_program(WIX_CANDLE_EXECUTABLE candle PATH "$ENV{PROGRAMFILES}/WiX Toolset v3.10/bin" "$ENV{${_PF86}}/WiX Toolset v3.10/bin" "$ENV{PROGRAMW6432}/WiX Toolset v3.10/bin" DOC "Path to the WiX candle utility." ) # Find light find_program(WIX_LIGHT_EXECUTABLE light PATH "$ENV{PROGRAMFILES}/WiX Toolset v3.10/bin" "$ENV{${_PF86}}/WiX Toolset v3.10/bin" "$ENV{PROGRAMW6432}/WiX Toolset v3.10/bin" DOC "Path to the WiX light utility." ) # Find light find_program(WIX_HEAT_EXECUTABLE heat PATH "$ENV{PROGRAMFILES}/WiX Toolset v3.10/bin" "$ENV{${_PF86}}/WiX Toolset v3.10/bin" "$ENV{PROGRAMW6432}/WiX Toolset v3.10/bin" DOC "Path to the WiX heat utility." )