1add_subdirectory(common) 2 3if (CMAKE_SYSTEM_NAME MATCHES "Darwin") 4 add_subdirectory(macosx) 5elseif (CMAKE_SYSTEM_NAME MATCHES "Linux") 6 add_subdirectory(linux) 7elseif (CMAKE_SYSTEM_NAME MATCHES "FreeBSD") 8 add_subdirectory(freebsd) 9#elseif (CMAKE_SYSTEM_NAME MATCHES "Windows") 10# add_subdirectory(windows) 11endif() 12