How do I install the directory /var/lib/myapp in an RPM using cmake-2.6.0? This approach: INCLUDE(CPack) SET(CPACK_GENERATOR RPM) INSTALL(DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR} DESTINATION var/lib/myapp ) installs it under /usr/var/lib/myapp in the RPM. cheers, Erik Sjölund