mirror of
https://github.com/Xaymar/obs-StreamFX
synced 2024-11-13 23:35:06 +00:00
cmake: Don't generate InnoSetup files for non-Windows platforms
This commit is contained in:
parent
9f28144b0b
commit
a49e8c6f9d
1 changed files with 7 additions and 7 deletions
|
@ -97,14 +97,14 @@ configure_file(
|
||||||
)
|
)
|
||||||
|
|
||||||
# Windows
|
# Windows
|
||||||
## Installer (InnoSetup)
|
|
||||||
Configure_File(
|
|
||||||
"${PROJECT_SOURCE_DIR}/cmake/installer.iss.in"
|
|
||||||
"${PROJECT_BINARY_DIR}/installer.iss"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Windows Specific Resource Definition
|
|
||||||
if(WIN32)
|
if(WIN32)
|
||||||
|
## Installer (InnoSetup)
|
||||||
|
Configure_File(
|
||||||
|
"${PROJECT_SOURCE_DIR}/cmake/installer.iss.in"
|
||||||
|
"${PROJECT_BINARY_DIR}/installer.iss"
|
||||||
|
)
|
||||||
|
|
||||||
|
# Windows Specific Resource Definition
|
||||||
set(PROJECT_PRODUCT_NAME "${PROJECT_FULL_NAME}")
|
set(PROJECT_PRODUCT_NAME "${PROJECT_FULL_NAME}")
|
||||||
set(PROJECT_COMPANY_NAME "${PROJECT_AUTHORS}")
|
set(PROJECT_COMPANY_NAME "${PROJECT_AUTHORS}")
|
||||||
set(PROJECT_COPYRIGHT "${PROJECT_AUTHORS} © ${PROJECT_COPYRIGHT_YEARS}")
|
set(PROJECT_COPYRIGHT "${PROJECT_AUTHORS} © ${PROJECT_COPYRIGHT_YEARS}")
|
||||||
|
|
Loading…
Reference in a new issue