Advertisement
Guest User

Untitled

a guest
Mar 5th, 2012
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.92 KB | None | 0 0
  1. diff --git a/cmake/Modules/GrPlatform.cmake b/cmake/Modules/GrPlatform.cmake
  2. index ce2e15f..dde65ce 100644
  3. --- a/cmake/Modules/GrPlatform.cmake
  4. +++ b/cmake/Modules/GrPlatform.cmake
  5. @@ -37,10 +37,18 @@ if(LINUX AND EXISTS "/etc/redhat-release")
  6. set(REDHAT TRUE)
  7. endif()
  8.  
  9. +if(LINUX AND EXISTS "/etc/slackware-version")
  10. + set(SLACKWARE TRUE)
  11. +endif()
  12. +
  13. ########################################################################
  14. # when the library suffix should be 64 (applies to redhat linux family)
  15. ########################################################################
  16. -if(NOT DEFINED LIB_SUFFIX AND REDHAT AND CMAKE_SYSTEM_PROCESSOR MATCHES "64$")
  17. +if (REDHAT OR SLACKWARE)
  18. + set(LIB64_CONVENTION TRUE)
  19. +endif()
  20. +
  21. +if(NOT DEFINED LIB_SUFFIX AND LIB64_CONVENTION AND CMAKE_SYSTEM_PROCESSOR MATCHES "64$")
  22. set(LIB_SUFFIX 64)
  23. endif()
  24. set(LIB_SUFFIX ${LIB_SUFFIX} CACHE STRING "lib directory suffix")
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement