Skip to content
Snippets Groups Projects
Verified Commit 3b9da486 authored by Nicolas Werner's avatar Nicolas Werner
Browse files

Set output name after the variable is defined

parent b654064c
No related branches found
No related tags found
No related merge requests found
Pipeline #3348 failed
......@@ -663,10 +663,6 @@ else()
endif()
endif()
if (FLATPAK)
set_target_properties(nheko PROPERTIES OUTPUT_NAME "${APPID}")
endif()
if(APPLE)
target_link_libraries (nheko PRIVATE Qt5::MacExtras)
elseif(WIN32)
......@@ -762,6 +758,7 @@ set_target_properties(nheko PROPERTIES CMAKE_SKIP_INSTALL_RPATH TRUE)
if(UNIX AND NOT APPLE)
if(FLATPAK)
set(APPID "io.github.NhekoReborn.Nheko")
set_target_properties(nheko PROPERTIES OUTPUT_NAME "${APPID}")
else()
set(APPID "nheko")
endif()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment