We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65ef7ba commit 2cc95fcCopy full SHA for 2cc95fc
CMakeLists.txt
@@ -100,6 +100,12 @@ set(MANPREFIX "${CMAKE_INSTALL_PREFIX}/share/man" CACHE PATH "Man page installat
100
set(APPPREFIX "${CMAKE_INSTALL_PREFIX}/share/applications" CACHE PATH "Application desktop file directory")
101
set(LOCALEDIR "${CMAKE_INSTALL_PREFIX}/share/locale" CACHE PATH "Locale files directory")
102
set(ICONPREFIX "${CMAKE_INSTALL_PREFIX}/share/pixmaps" CACHE PATH "Icon installation directory")
103
+target_compile_definitions(${TARGET_NAME} PRIVATE
104
+ MANPREFIX="${MANPREFIX}"
105
+ APPPREFIX="${APPPREFIX}"
106
+ LOCALEDIR="${LOCALEDIR}"
107
+ ICONPREFIX="${ICONPREFIX}"
108
+)
109
110
# Install executable
111
install(TARGETS ${TARGET_NAME}
0 commit comments