UnixPaths.cmake 933 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. SET(CMAKE_SYSTEM_INCLUDE_PATH ${CMAKE_SYSTEM_INCLUDE_PATH}
  2. # Standard
  3. /include /usr/include /usr/local/include
  4. # Windows API on Cygwin
  5. /usr/include/w32api
  6. # X11
  7. /usr/X11R6/include /usr/include/X11
  8. # Other
  9. /opt/local/include /usr/pkg/include
  10. /opt/csw/include /opt/include
  11. )
  12. SET(CMAKE_SYSTEM_LIBRARY_PATH ${CMAKE_SYSTEM_LIBRARY_PATH}
  13. # Standard
  14. /lib /usr/lib /usr/local/lib
  15. # Windows API on Cygwin
  16. /usr/lib/w32api
  17. # X11
  18. /usr/X11R6/lib /usr/lib/X11
  19. # Other
  20. /opt/local/lib /usr/pkg/lib
  21. /opt/csw/lib /opt/lib
  22. )
  23. SET(CMAKE_SYSTEM_PROGRAM_PATH ${CMAKE_SYSTEM_PROGRAM_PATH}
  24. /bin /usr/bin /usr/local/bin /usr/pkg/bin /sbin
  25. )
  26. SET(CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES
  27. ${CMAKE_PLATFORM_IMPLICIT_LINK_DIRECTORIES}
  28. /lib /usr/lib /usr/lib32 /usr/lib64
  29. )
  30. # Enable use of lib64 search path variants by default.
  31. SET_PROPERTIES(GLOBAL PROPERTIES FIND_LIBRARY_USE_LIB64_PATHS TRUE)