Move CPack win32 generator from NSIS to WIX

This commit is contained in:
BtbN
2014-02-02 15:16:40 +01:00
parent e7e570b8b8
commit e9c22c3b8d
7 changed files with 90 additions and 778 deletions

View File

@@ -80,6 +80,19 @@ add_executable(obs WIN32
${obs_HEADERS}
${obs_UI_HEADERS}
${obs_QRC_SOURCES})
if(WIN32)
if(CMAKE_SIZEOF_VOID_P EQUAL 8)
set(_output_suffix "64")
else()
set(_output_suffix "32")
endif()
set_target_properties(obs
PROPERTIES
OUTPUT_NAME "obs${_output_suffix}")
endif()
target_link_libraries(obs
libobs
Qt5::Widgets