I have created an executable like this:
add_executable(ImageCompleter ${AppSources})
target_link_libraries(ImageCompleter ${LibrariesAlwaysUsed})
INSTALL( TARGETS ImageCompleter
RUNTIME DESTINATION ${INSTALL_DIR} )
When I run the one that is created with 'make', it works fine.
On Fri, Apr 22, 2011 at 9:48 AM, David Doria daviddo...@gmail.com wrote:
I have created an executable like this:
add_executable(ImageCompleter ${AppSources})
target_link_libraries(ImageCompleter ${LibrariesAlwaysUsed})
INSTALL( TARGETS ImageCompleter
RUNTIME DESTINATION ${INSTALL_DIR}
I think the CMake page on RPATHs might be what you are looking for.
http://www.cmake.org/Wiki/CMake_RPATH_handling
Marcus
Yea I read that, but I didn't really follow/see how to fix this
problem. Surely there is a just copy the executable option?
David
On Fri, Apr 22, 2011 at 9:57 AM, David Doria daviddo...@gmail.com wrote:
I think the CMake page on RPATHs might be what you are looking for.
http://www.cmake.org/Wiki/CMake_RPATH_handling
Yea I read that, but I didn't really follow/see how to fix this
problem. Surely there is a just copy the