Windows compilation fight

This commit is contained in:
Bertrand Songis
2019-05-16 12:59:10 +02:00
parent 68a9edc887
commit c8e28f1cd0
+1 -1
View File
@@ -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..."