mirror of
https://github.com/Nheko-Reborn/nheko.git
synced 2024-11-26 04:58:49 +03:00
Set output name after the variable is defined
This commit is contained in:
parent
b654064cd9
commit
3b9da48671
1 changed files with 1 additions and 4 deletions
|
@ -663,10 +663,6 @@ else()
|
||||||
endif()
|
endif()
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if (FLATPAK)
|
|
||||||
set_target_properties(nheko PROPERTIES OUTPUT_NAME "${APPID}")
|
|
||||||
endif()
|
|
||||||
|
|
||||||
if(APPLE)
|
if(APPLE)
|
||||||
target_link_libraries (nheko PRIVATE Qt5::MacExtras)
|
target_link_libraries (nheko PRIVATE Qt5::MacExtras)
|
||||||
elseif(WIN32)
|
elseif(WIN32)
|
||||||
|
@ -762,6 +758,7 @@ set_target_properties(nheko PROPERTIES CMAKE_SKIP_INSTALL_RPATH TRUE)
|
||||||
if(UNIX AND NOT APPLE)
|
if(UNIX AND NOT APPLE)
|
||||||
if(FLATPAK)
|
if(FLATPAK)
|
||||||
set(APPID "io.github.NhekoReborn.Nheko")
|
set(APPID "io.github.NhekoReborn.Nheko")
|
||||||
|
set_target_properties(nheko PROPERTIES OUTPUT_NAME "${APPID}")
|
||||||
else()
|
else()
|
||||||
set(APPID "nheko")
|
set(APPID "nheko")
|
||||||
endif()
|
endif()
|
||||||
|
|
Loading…
Reference in a new issue