Re: [CMake] CPack - Transaction error

2017-05-09 Thread Kristian
Thank you, that helped! 2017-05-09 15:24 GMT+02:00 Domen Vrankar : >> Transaction check error: >> file /opt from install of ssp-suite-7.1-1.x86_64 conflicts with file >> from package filesystem-3.2-21.el7.x86_64 >> >> Error Summary > > > Directory /opt is already owned by filesystem package but

Re: [CMake] CPack - Transaction error

2017-05-09 Thread Domen Vrankar
> > Transaction check error: > file /opt from install of ssp-suite-7.1-1.x86_64 conflicts with file > from package filesystem-3.2-21.el7.x86_64 > > Error Summary > Directory /opt is already owned by filesystem package but is not listed in CPACK_RPM_EXCLUDE_FROM_AUTO_FILELIST variable. Add /opt (

[CMake] CPack - Transaction error

2017-05-09 Thread Kristian
Hi, I want to generate a RPM package. My CMakeLists.txt looks loke this: ## cmake_minimum_required(VERSION 3.5) set(INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/ssp/) install(DIRECTORY "${CMAKE_CURRENT_SOURCE_DIR}/ssp-suite/" DESTINATION ${INSTALL_DIR}) install(PROGRAMS "${CMAKE