Stop building installer if specified
This commit is contained in:
parent
58eb7952a6
commit
29ca4b76ac
|
@ -379,6 +379,7 @@ macro (configure_files srcDir destDir)
|
||||||
endforeach (templateFile)
|
endforeach (templateFile)
|
||||||
endmacro (configure_files)
|
endmacro (configure_files)
|
||||||
|
|
||||||
|
if (${SYNERGY_BUILD_LEGACY_INSTALLER})
|
||||||
#
|
#
|
||||||
# macOS app Bundle
|
# macOS app Bundle
|
||||||
#
|
#
|
||||||
|
@ -396,12 +397,8 @@ endif()
|
||||||
# Windows installer
|
# Windows installer
|
||||||
#
|
#
|
||||||
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
if (${CMAKE_SYSTEM_NAME} MATCHES "Windows")
|
||||||
if (${SYNERGY_BUILD_LEGACY_INSTALLER})
|
|
||||||
message (STATUS "Configuring the v1 installer")
|
message (STATUS "Configuring the v1 installer")
|
||||||
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer)
|
configure_files (${CMAKE_CURRENT_SOURCE_DIR}/dist/wix ${CMAKE_BINARY_DIR}/installer)
|
||||||
else()
|
|
||||||
message (STATUS "NOT configuring the v1 installer")
|
|
||||||
endif()
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
#
|
#
|
||||||
|
@ -417,4 +414,8 @@ if (${CMAKE_SYSTEM_NAME} MATCHES "Linux")
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
else()
|
||||||
|
message (STATUS "NOT configuring the v1 installer")
|
||||||
|
endif()
|
||||||
add_subdirectory (src)
|
add_subdirectory (src)
|
||||||
|
ctory (src)
|
||||||
|
|
Loading…
Reference in New Issue