So I took care of the problem of the package not having any file. Now I'm trying to change the directory where the binary file is installed and the binary allways gets installed to /usr/bin/. I'm setting the variable CMAKE_INSTALL_PREFIX to something like "/opt/VENDOR/sqlconnmonit" and the packages always uses /usr/bin.
When I do something like: INSTALL(TARGETS sqlconnmonit RUNTIME DESTINATION /opt/VENDO/sqlconnmonit/bin COMPONENT Runtime) I need to be root to be able to build the package and the file is not added to the package. Am I approaching this wrong? Thank you for your time, -r _______________________________________________ Powered by www.kitware.com Visit other Kitware open-source projects at http://www.kitware.com/opensource/opensource.html Please keep messages on-topic and check the CMake FAQ at: http://www.cmake.org/Wiki/CMake_FAQ Follow this link to subscribe/unsubscribe: http://www.cmake.org/mailman/listinfo/cmake
