Hallo folks, I've build my library with cmake, and I'll install (make install) my library, it works fine, but I've a permission problem, the builded library has the following permissions:
### snip ### lrwxrwxrwx 1 jan jan 21 2008-09-25 15:48 libcorealgorithm.so -> libcorealgorithm.so.0 lrwxrwxrwx 1 jan jan 25 2008-09-25 15:48 libcorealgorithm.so.0 -> libcorealgorithm.so.0.0.1 -rwxr-xr-x 1 jan jan 7178 2008-09-25 15:48 libcorealgorithm.so.0.0.1 ### snap ### Thats right. My installed library has invalid permissions: ### snip ### lrwxrwxrwx 1 root staff 21 2008-09-25 15:48 libcorealgorithm.so -> libcorealgorithm.so.0 lrwxrwxrwx 1 root staff 25 2008-09-25 15:48 libcorealgorithm.so.0 -> libcorealgorithm.so.0.0.1 -rw-r--r-- 1 root staff 7178 2008-09-25 15:48 libcorealgorithm.so.0.0.1 ### snap ### There is no file with executable permission. Here is a part of my cmake file: ### snip ### SET (LIBRARYNAME corealgorithm) SET (LIB_MAJOR 0) SET (LIB_MINOR 0) SET (LIB_RELEASE 1) add_library (${LIBRARYNAME} SHARED ${HDRS} ${SRC}) SET (_soversion ${LIB_MAJOR}.${LIB_MINOR}.${LIB_RELEASE}) set_target_properties(${LIBRARYNAME} PROPERTIES SOVERSION ${LIB_MAJOR} VERSION ${_soversion}) target_link_libraries(${LIBRARYNAME}) SET (LIBRARY_OUTPUT_PATH ${PROJECT_BINARY_DIR}/lib) INSTALL(FILES ${HDRS} DESTINATION /usr/local/include/ns/corealgorithm) INSTALL(TARGETS ${LIBRARYNAME} LIBRARY DESTINATION /usr/local/lib/ns/corealgorithm) ### snap ### Have someone an idea? so long jd
_______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake