Skip to content

Commit

Permalink
add missing docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
benjaminum committed Dec 19, 2024
1 parent 5c55a75 commit 4408259
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cpp/apps/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,9 @@ macro(open3d_add_app_gui SRC_DIR APP_NAME TARGET_NAME)
DESTINATION "${CMAKE_INSTALL_PREFIX}/bin"
USE_SOURCE_PERMISSIONS)
if (CMAKE_INSTALL_PREFIX MATCHES "^(/usr/local|/opt)")
set(DESKTOP_INSTALL_DIR "/usr/share" CACHE PATH)
set(DESKTOP_INSTALL_DIR "/usr/share" CACHE PATH "The install directory for the desktop apps")
else()
set(DESKTOP_INSTALL_DIR "$ENV{HOME}/.local/share" CACHE PATH)
set(DESKTOP_INSTALL_DIR "$ENV{HOME}/.local/share" CACHE PATH "The install directory for the desktop apps")
endif()
configure_file("${SOURCE_DIR}/${TARGET_NAME}.desktop.in"
"${CMAKE_RUNTIME_OUTPUT_DIRECTORY}/${APP_NAME}.desktop")
Expand Down

0 comments on commit 4408259

Please sign in to comment.