Cmake has a module GNUInstallDirs Which tries to determine according to the GNU standards the low lever directory for the components according to the GNU standards ( whether or not You like the GNU thing )
From my experiments seems that the only dirs define by the GNU standards are lib and lib64 And the module GNUInstallDirs correctly returns them It returns lib64 for Fedora and Centos , It returns lib for Debian ( the weirdest directory structure ) So in my opinion the closest we can get to a reasonable layout across different systems is to join the GNU standard bandwagon Look at my repositories cmToolKit and rxSnippets for the vDump module which lets You look at the cmake variables defined at invocation time vdump( “${CURRENT_LIST_FILE}” “${CURRENT_LIST_LINE}” ) It will create a file like vars_for_main_at_9999.txt Which for centos contains CMAKE_INSTALL_LIBDIR='lib64' E
_______________________________________________ Oorexx-devel mailing list Oorexx-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/oorexx-devel