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