Lets say I have this dir structure:
include/a/a1.h
include/a/a2.h
include/b/b1.h
include/c/c1/c1.h
        When I do this:
FILE(GLOB_RECURSE INSTALL_HEADERS RELATIVE "${CMAKE_SOURCE_DIR}"
"$(CMAKE_SOURCE_DIR}/include/*.h")
INSTALL(FILES ${INSTALL_HEADERS} DESTINATION include)
        I get this structure:
include/a1.h
include/a2.h
include/b1.h
include/c1.h
        Is there a way to tell INSTALL to preserve the original structure?

--
Artur Kedzierski

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
CMake mailing list
[email protected]
http://www.cmake.org/mailman/listinfo/cmake

Reply via email to