diff --git a/CMakeLists.txt b/CMakeLists.txt index 7439491da..7d3e8bab9 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -122,8 +122,9 @@ if (Qt5_POSITION_INDEPENDENT_CODE) SET(CMAKE_POSITION_INDEPENDENT_CODE ON) endif() -####################################### Secrets ####################################### +####################################### Program Info ####################################### +set(Launcher_APP_BINARY_NAME "polymc" CACHE STRING "Name of the Launcher binary") add_subdirectory(program_info) ####################################### Install layout ####################################### @@ -196,7 +197,6 @@ elseif(Launcher_LAYOUT_REAL STREQUAL "lin-nodeps") install(PROGRAMS "${CMAKE_CURRENT_BINARY_DIR}/LauncherScript" DESTINATION ${BUNDLE_DEST_DIR} RENAME ${Launcher_Name}) elseif(Launcher_LAYOUT_REAL STREQUAL "lin-system") - set(Launcher_APP_BINARY_NAME "polymc" CACHE STRING "Name of the Launcher binary") set(Launcher_BINARY_DEST_DIR "bin" CACHE STRING "Path to the binary directory") set(Launcher_LIBRARY_DEST_DIR "lib${LIB_SUFFIX}" CACHE STRING "Path to the library directory") set(Launcher_SHARE_DEST_DIR "share/polymc" CACHE STRING "Path to the shared data directory")