diff options
author | Josh Blum | 2011-10-08 17:11:12 -0700 |
---|---|---|
committer | Josh Blum | 2011-10-08 17:11:12 -0700 |
commit | 71c0f14a46f85027b95f2f5f6d3d219cc9e3783e (patch) | |
tree | 046d89555243ede65bfc7bc0a6cbfc7f870ff4cb /grc/freedesktop/CMakeLists.txt | |
parent | 63b87bf4e6e9a2f1112c17c57796b69b3b8a2b3e (diff) | |
download | gnuradio-71c0f14a46f85027b95f2f5f6d3d219cc9e3783e.tar.gz gnuradio-71c0f14a46f85027b95f2f5f6d3d219cc9e3783e.tar.bz2 gnuradio-71c0f14a46f85027b95f2f5f6d3d219cc9e3783e.zip |
gr: the CMakeLists.txt took a chill pill
Diffstat (limited to 'grc/freedesktop/CMakeLists.txt')
-rw-r--r-- | grc/freedesktop/CMakeLists.txt | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/grc/freedesktop/CMakeLists.txt b/grc/freedesktop/CMakeLists.txt index 2e74dd3be..8c0f53d9f 100644 --- a/grc/freedesktop/CMakeLists.txt +++ b/grc/freedesktop/CMakeLists.txt @@ -18,9 +18,9 @@ # Boston, MA 02110-1301, USA. ######################################################################## -SET(grc_freedesktop_path ${GR_PKG_DATA_DIR}/grc/freedesktop) +set(grc_freedesktop_path ${GR_PKG_DATA_DIR}/grc/freedesktop) -INSTALL(FILES +install(FILES grc-icon-256.png grc-icon-128.png grc-icon-64.png @@ -32,16 +32,16 @@ INSTALL(FILES COMPONENT "grc" ) -FIND_PROGRAM(HAVE_XDG_UTILS xdg-desktop-menu) +find_program(HAVE_XDG_UTILS xdg-desktop-menu) -IF(UNIX AND HAVE_XDG_UTILS) - SET(SRCDIR ${CMAKE_INSTALL_PREFIX}/${grc_freedesktop_path}) - CONFIGURE_FILE( +if(UNIX AND HAVE_XDG_UTILS) + set(SRCDIR ${CMAKE_INSTALL_PREFIX}/${grc_freedesktop_path}) + configure_file( ${CMAKE_CURRENT_SOURCE_DIR}/grc_setup_freedesktop.in ${CMAKE_CURRENT_BINARY_DIR}/grc_setup_freedesktop @ONLY) - INSTALL( + install( FILES ${CMAKE_CURRENT_BINARY_DIR}/grc_setup_freedesktop DESTINATION ${GR_PKG_LIBEXEC_DIR} COMPONENT "grc" ) -ENDIF(UNIX AND HAVE_XDG_UTILS) +endif(UNIX AND HAVE_XDG_UTILS) |