1 2 3 4 5 6 7 8 9 10 11 12
--- a/cmake/ConkyPlatformChecks.cmake +++ b/cmake/ConkyPlatformChecks.cmake @@ -if(CMAKE_SYSTEM_NAME MATCHES "SunOS") +if(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "Hammerhead") set(OS_SOLARIS true) set(conky_libs ${conky_libs} -lkstat) -else(CMAKE_SYSTEM_NAME MATCHES "SunOS") +else(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "Hammerhead") set(OS_SOLARIS false) -endif(CMAKE_SYSTEM_NAME MATCHES "SunOS") +endif(CMAKE_SYSTEM_NAME MATCHES "SunOS" OR CMAKE_SYSTEM_NAME MATCHES "Hammerhead")