From c8e28f1cd0ddb4a2c64ddc2eb6730dc4dcbd391c Mon Sep 17 00:00:00 2001 From: Bertrand Songis Date: Thu, 16 May 2019 12:59:10 +0200 Subject: [PATCH] Windows compilation fight --- companion/src/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/companion/src/CMakeLists.txt b/companion/src/CMakeLists.txt index 4626b0f9f..4283e58d5 100644 --- a/companion/src/CMakeLists.txt +++ b/companion/src/CMakeLists.txt @@ -459,7 +459,7 @@ if(WIN32) add_custom_target(installer # The 'install' target prepares all the distro files, make sure it has been executed first. - COMMAND "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" --target install + COMMAND "${CMAKE_COMMAND}" --build "${CMAKE_BINARY_DIR}" --target install --config Release COMMAND "${NSIS_EXE}" "${NSI_FILE}" DEPENDS "${NSI_FILE}" COMMENT "Building Windows NSIS installer..."