From Fedora Project Wiki

Revision as of 07:31, 21 August 2008 by Jreznik (talk | contribs) (New page: * CMake installation It's better to use ${INSTALL_TARGETS_DEFAULT_ARGS} as DESTINATION instead ${LIB_INSTALL_DIR} and ${BIN_INSTALL_DIR}. <pre>install(TARGETS target DESTINATION ${INSTAL...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

  • CMake installation

It's better to use ${INSTALL_TARGETS_DEFAULT_ARGS} as DESTINATION instead ${LIB_INSTALL_DIR} and ${BIN_INSTALL_DIR}.

install(TARGETS target DESTINATION ${INSTALL_TARGETS_DEFAULT_ARGS})