diff options
| author | Felix Morgner <felix.morgner@gmail.com> | 2024-07-25 08:01:16 +0200 |
|---|---|---|
| committer | Felix Morgner <felix.morgner@gmail.com> | 2024-07-25 08:01:26 +0200 |
| commit | 075837dc248ee36ec5abe7026bbb44b3c0609d29 (patch) | |
| tree | 794a3520bb6643b03dd3d301a9a8090b2cc8236e /app/CMakeLists.txt | |
| parent | 95241c3fed6dc5c1b613a2979c3d1a89d76d8967 (diff) | |
| download | turns-075837dc248ee36ec5abe7026bbb44b3c0609d29.tar.xz turns-075837dc248ee36ec5abe7026bbb44b3c0609d29.zip | |
build: restore lost app build configuration
Diffstat (limited to 'app/CMakeLists.txt')
| -rw-r--r-- | app/CMakeLists.txt | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/app/CMakeLists.txt b/app/CMakeLists.txt index c39bdf8..62bfa82 100644 --- a/app/CMakeLists.txt +++ b/app/CMakeLists.txt @@ -1,5 +1,3 @@ -# Application - add_executable("app" "src/application.cpp" "src/main.cpp" @@ -23,3 +21,20 @@ target_link_libraries("app" PRIVATE "turns::style" "$<$<CXX_COMPILER_ID:GNU,Clang>:-Wl,--no-whole-archive>" ) + +set_target_properties("app" PROPERTIES + OUTPUT_NAME "turns" +) + +install(TARGETS "app" + RUNTIME DESTINATION "${CMAKE_INSTALL_BINDIR}" +) + +configure_file("desktop.in" + "turns.desktop" +) + +install(FILES + "${CMAKE_CURRENT_BINARY_DIR}/turns.desktop" + DESTINATION "${CMAKE_INSTALL_DATAROOTDIR}/applications" +) |
