Brad King wrote: > Helio Chissini de Castro wrote: >> INSTALL( FILES ${CMAKE_CURRENT_BINARY_DIR}/providers.xml >> DESTINATION /opt/fdo ) >> >> INSTALL( CODE "MAKE_DIRECTORY\( /opt/fdo/Repositories/Library/DataFiles\)" ) [snip] > MAKE_DIRECTORY is just a CMake command and knows nothing of installation > or DESTDIR. You need to reference it yourself. Also note the docs for > MAKE_DIRECTORY say it is deprecated and that you should use FILE: > > INSTALL(CODE " > FILE(MAKE_DIRECTORY $ENV{DESTDIR}/opt/fdo/Repositories/Library/DataFiles) > ")
Oh, and when 2.4.4 is released you will be able to do INSTALL(DIRECTORY DESTINATION /opt/fdo/Repositories/Library/DataFiles) to get exactly what you want. -Brad _______________________________________________ CMake mailing list CMake@cmake.org http://www.cmake.org/mailman/listinfo/cmake