Re: [CMake] install component shared library

2010-06-04 Thread David Ojeda
Excellent! Thank you very much Ryan, that did it... On Jun 4, 2010, at 6:15 PM, Ryan Pavlik wrote: You need multiple component specifications in your install(TARGETS comand - like this: install(TARGETS mylib RUNTIME DESTINATION bin COMPONENT libraries LIBRARY DESTINATION lib COMPONEN

Re: [CMake] install component shared library

2010-06-04 Thread Ryan Pavlik
You need multiple component specifications in your install(TARGETS comand - like this: install(TARGETS mylib RUNTIME DESTINATION bin COMPONENT libraries LIBRARY DESTINATION lib COMPONENT libraries ARCHIVE DESTINATION lib/static COMPONENT libraries) Ryan On 6/4/10 9:14 AM, David Ojed

[CMake] install component shared library

2010-06-04 Thread David Ojeda
Hello all, I have a problem using the COMPONENT property of the install command. My CMakeLists.txt has several install commands: # some files... install(FILES ${some_var} DESTINATION include/xxx COMPONENT headers) install(FILES "${CMAKE_CURRENT_BINARY_DIR}/somefile.txt" DESTINATION share/txt