add more spacing
[personal-kdebase.git] / runtime / pics / CMakeLists.txt
blob8a5995674466358e095f710c58c6824cf617106d
2 add_subdirectory( hicolor )
3 add_subdirectory( emoticons )
4 add_subdirectory( oxygen )
6 set(ksvgtopng_SRCS ksvgtopng.cpp )
7 kde4_add_executable(ksvgtopng NOGUI ${ksvgtopng_SRCS})
8 target_link_libraries(ksvgtopng ${KDE4_KDEUI_LIBS})
9 install(TARGETS ksvgtopng ${INSTALL_TARGETS_DEFAULT_ARGS} )
11 # create a symlink for the default icon theme,
12 # so that fallbacks work even for themes that don't inherit from oxygen
13 if (UNIX)
14    # write a cmake script file which creates the symlink
15    file(WRITE ${CMAKE_CURRENT_BINARY_DIR}/make_icontheme_symlink.cmake "exec_program(${CMAKE_COMMAND} ARGS -E create_symlink oxygen \"\$ENV{DESTDIR}${ICON_INSTALL_DIR}/default.kde4\")\n")
16    # and add it as post-install script to any of the installed targets, so it will be executed during "make install"
17    install(SCRIPT ${CMAKE_CURRENT_BINARY_DIR}/make_icontheme_symlink.cmake)
18 endif (UNIX)