message: Only build the global notifier tests if it's enabled
diff: @@ -37,7 +37,6 @@ if(REALM_ENABLE_SYNC)
  )
  list(APPEND SOURCES
  sync/file.cpp
  - sync/global_notifier.cpp
  sync/metadata.cpp
  sync/partial_sync.cpp
  sync/permission.cpp
  @@ -51,6 +50,12 @@ if(REALM_ENABLE_SYNC)
  )
  endif()
  +if(REALM_ENABLE_SERVER)
  + list(APPEND SOURCES
  + sync/global_notifier.cpp
  + )
  +endif()
  +
  add_executable(tests ${SOURCES} ${HEADERS})
  target_compile_definitions(tests PRIVATE ${PLATFORM_DEFINES})
  